Quote:
Originally Posted by fromfeed.com
You can use this. It is perfectly working.
$receiverEmail = "info@example.com";/*Destination email address*/
/* To send HTML mail, you can set the Content-type header. */
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
/* additional headers */
$headers .= "From: $name <$email>\r\n";
$mails = $funObj->sendEmail($name, $email, $receiverEmail, $subject, $message, "", false);
if($mails)
{
echo "Email is succesfully Delivered";
}
else
{
echo "<br/>Email is not Delivered";
}
|
i'm sure that your php script can't work .
$mails = $funObj->sendEmail($name, $email, $receiverEmail, $subject, $message, "", false);
. where do u declare object $funObj ?