Hi, i need some help
I want to use PHPMailer class for sending an email from my PHP script.
Below is my code :
It doesn't result any error messages, in fact it will echo Message has been sent. But the problem is i never receive the email @ my yahoo account.
$mail = new PHPMailer();
$mail->WordWrap = 50; // set word wrap
$mail->AddAttachment("./license/license.zip"); // attachment
$mail->IsHTML(true); // send as HTML
$mail->Subject = "Sig-Share is being tired";
$mail->Body = "This is the <b>HTML body</b>";
$mail->AltBody = "This is the text-only body";
echo "Message was not sent <p>";
echo "Mailer Error: " . $mail->ErrorInfo;
echo "Message has been sent";
Can someone help me with this problem, pls?