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.Code:<?php require("class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsMail(); $mail->AddAddress("cemplukcute2003@yahoo.com","Aileen Pranoto"); $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"; if(!$mail->Send()) { echo "Message was not sent <p>"; echo "Mailer Error: " . $mail->ErrorInfo; exit; } else { echo "Message has been sent"; } ?>
Can someone help me with this problem, pls?









Bookmarks