My Opencart version is 3.0.2.0
My problem is that email is not working recently. I am using gmail smtp and it was working few days before. But suddenly it stopped working and while checking error log I found below log.
PHP Fatal error: Uncaught exception 'Exception' with message 'Error: Password not accepted from server!' in /home/MYFOLDERNAME/public_html/system/library/mail/smtp.php:206
I am using Linux hosting.
And below is my mail configuration
Mail Engine : SMTP, SMTP Hostname : tls://smtp.gmail.com, SMTP Username : [email protected], SMTP Password : mygmailpassword, SMTP Port : 587
I have enabled less secure apps in https://myaccount.google.com/lesssecureapps?pli=1 and also 'Account access enabled' in https://accounts.google.com/b/0/DisplayUnlockCaptcha.
My gmail account is active and I can login in web.
Also I tested the same with below details, but still it is not working.
SMTP Hostname : ssl://smtp.gmail.com & SMTP Port: 465
Please help me on this.
Thanks in advance