Hello 000webhost community, please I am using phpmailer to send an email when a users resgistered on my website. It was working when on different hosting company. I changed to 000webhost, and the same metod use to send email via phpmailer isn’t working. Please what could be the cause. I get always get this error :
Fatal error: Uncaught phpmailerException: SMTP Error: Could not authenticate. in /storage/ssd3/441/7534441/public_html/PHPMailer/class.phpmailer.php:1697 Stack trace: #0 /storage/ssd3/441/7534441/public_html/PHPMailer/class.phpmailer.php(1540): PHPMailer->smtpConnect(Array) #1 /storage/ssd3/441/7534441/public_html/PHPMailer/class.phpmailer.php(1335): PHPMailer->smtpSend(‘Date: Fri, 19 O…’, ‘Hi! You request…’) #2 /storage/ssd3/441/7534441/public_html/PHPMailer/class.phpmailer.php(1213): PHPMailer->postSend() #3 /storage/ssd3/441/7534441/public_html/functions.php(282): PHPMailer->send() #4 /storage/ssd3/441/7534441/public_html/request-account-activate.php(115): send_mail(Array) #5 {main} thrown in /storage/ssd3/441/7534441/public_html/PHPMailer/class.phpmailer.php on line 1697
I am using Google SMTP ,with the credentials correct.
So I don’t know why ,email failed to send.
Need help.
Thanks