SMTP -> FROM SERVER:553 Relaying disallowed
SMTP -> ERROR: DATA not accepted from server: 553 Relaying disallowed
What I am trying to do is to send an email to my zoho account ("info@asianaservices.com") with the form data entered by the user as the body.
The PHP code I'm using is as follows:
$mail2 = new PHPMailer();
$mail2->IsSMTP(); // set mailer to use SMTP
$mail2->SMTPDebug = 2;
$mail2->Host = "smtp.zoho.com"; // specify main and backup server
$mail2->SMTPAuth = true; // turn on SMTP authentication
$mail2->SMTPSecure = "ssl";
$mail2->Port = 465;
$mail2->Username = "info@asianaservices.com"; // SMTP username
$mail2->Password = "*****"; // SMTP password
$mail2->From = $from; // $from is the user's email address which is received from the form
$mail2->AddAddress("info@asianaservices.com");