I tried to make a PHP script which used to send the mails to all the clients for the i thought first to make a dummy scirpt, But its fail during sending the mail. Below is a error message
Warning: mail(): SMTP server response: 530 5.7.1 Client was not authenticated in C:\inetpub\wwwroot\dummy\email\email_script.php on line 10
I don't know what authentication its need. Please help me to overcome from this problem.
Below is my php script.
mail($email, $subject, $message,"From:".$from);
print "email has been sent : </br> $email</br>$subject</br>$message</br>";
Please let me know if something which i need to be change
Thanks in advance