Tried the ISP SMTP and that did not work.
I downloaded PHPMAILER (for php5) - this i v2.3) and ran a test script to see if i could send mail and got the following error:
Deprecated: Function split() is deprecated in C:\wamp\www\class.phpmailer.php on line 477
Message was not sent.Mailer error: Could not instantiate mail function.
Don't understand above error... any ideas of what i can try next?
here is the script i ran:
<?php
require("class.phpmailer.php"); // First we require the PHPMailer libary in our script
require("class.smtp.php");
$mail = new PHPMailer(); // Next we create a new object of the PHPMailer called $mail
$mail->From = "utoprani@yahoo.com"; // this is the From adress (the adress the email came from)
$mail->FromName = "Umesh Toprani";
$mail->AddAddress("bhaven111@yahoo.com"); // This is the adress to witch the email has to be send.
$mail->Subject = "First PHP Email message"; // This is the subject of the email message.
$mail->Body = "Hi! \n\n This is my first e-mail sent through PHP."; // This is the actual email message
if(!$mail->Send()) // Now we send the email and check if it was send or not.
{
echo 'Message was not sent.';
echo 'Mailer error: ' . $mail->ErrorInfo;
}
else
{
echo 'Message has been sent.';
}
?>