magepal / magento2-gmail-smtp-app

Configure Magento 2 to send email using Google App, Gmail, Amazon Simple Email Service (SES), Microsoft Office365 and many other SMTP (Simple Mail Transfer Protocol) servers
https://www.magepal.com
319 stars 148 forks source link

Username and password not accepted #144

Closed mrtuvn closed 5 years ago

mrtuvn commented 5 years ago

Today i got this issue. Before that it's not happen. Not sure google update or restricts any security. Credentials gmail saved and correctly

Magento version #: 2.3.1

GmailSmtp version #: 2.6.3

Edition (EE, CE, OS, etc): CE version running in ubuntu

Expected behavior: successfull sent mail

Actual behavior: Error bummer

magepal

Steps to reproduce: Go to configuration MagePal. Add mail credentials

add test email send for test purpose

Preconditions

Log magento var/log/exception.log

[2019-06-14 17:37:29] main.CRITICAL: 5.7.8 Username and Password not accepted. Learn more at 5.7.8 https://support.google.com/mail/?p=BadCredentials - gsmtp {"exception":"[object] (Magento\Framework\Exception\MailException(code: 0): 5.7.8 Username and Password not accepted. Learn more at 5.7.8 https://support.google.com/mail/?p=BadCredentials - gsmtp at /var/www/html/app/code/MagePal/GmailSmtpApp/Model/ZendMailTwo/Smtp.php:158, Zend\Mail\Protocol\Exception\RuntimeException(code: 0): 5.7.8 Username and Password not accepted. Learn more at 5.7.8 https://support.google.com/mail/?p=BadCredentials - gsmtp at /var/www/html/vendor/zendframework/zend-mail/src/Protocol/AbstractProtocol.php:348)"} [

mohxani commented 5 years ago