PHP Mailer ERROR Connection while sending Email
hi
i'm using PHPmailer to send email from my website to my email account which is hosted on zoho . sending email address is
info@adamrifau.com .
please note that if i disable smtp auth with out any issue i can send mails.
and accroding my hosting provider ZOHO is blocking their ip address 148.163.69.159
192.30.138.82 . and they have informed me to request white list these ip address in remote server.
$mail = new PHPMailer;
$mail->isSMTP();
$mail->Host = 'smtp.zoho.com';
$mail->SMTPAuth = false;
$mail->Username = '
info@adamrifau.com';
$mail->Password = 'password'
$mail->SMTPSecure = 'tls';
$mail->Port = 587;
$mail->setFrom('
info@adamrifau.com', 'Adam Rifau');
$mail->addReplyTo('
info@adamrifau.com', 'Adam Rifau');
$mail->addAddress('
adamrifau@adamrifau.com');
Error: SMTP connect() failed.