Hi im using phpmailer. I can send emails to gmail and hotmail fine but not to yahoo.
here is the code:
<?php
require("phpmailer/class.phpmailer.php");
$mail = new PHPMailer();
//$mail->IsSMTP(); // telling the class to use SMTP
//$mail->Host = "smtp.email.com"; // SMTP server
$mail->IsHTML(true);
$mail->From = "example@example.com";
$mail->FromName = "ITL Admin";
$mail->AddAddress("someone@gmail.com");
$mail->AddAddress("someone@yahoo.co.uk");
$mail->AddAddress("someone@hotmail.com");
$mail->Subject = "Bringing Feeling to Translation";
$mail->WordWrap = 50;
$mail->AddEmbeddedImage('bring_feeling_to_translation.gif', 'bring-feeling-to-translation', 'bring_feeling_to_translation.gif');
$mail->AddEmbeddedImage('xx-logo.gif', 'xxlogo', 'xx-logo.gif');
$mail->Body = '<p align="center"><img alt="bringing feeling to translation" src="cid:bring-feeling-to-translation"></p>';
$mail->Body .= '<p align="center"><b>Providing quality translation, interpretation and training since 1989<b></p>';
$mail->Body .= '<img alt="xxx - interpretation translation line" src="cid:itl-logo">';
if(!$mail->Send())
{
echo "Message was not sent";
echo "Mailer Error: " . $mail->ErrorInfo;
}
else
{
echo "Message has been sent";
}
?>