I host a website and I use PHP mailer. I have it pointed to the servers, correct port, etc.
I still receive an error.
Here's my code below.
<?php
$mail = new PHPMailer;
$mail->IsSMTP();
$mail->SMTPAuth = true;
$mail->Host = "smtp.zoho.com";
$mail->Port = 587;
$mail->Username = "help@lethalpcs.com";
$mail->Password = "--REDACTED--";
$mail->SetFrom('help@lethalpcs.com');
?>
Thanks.