Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gmail setup stopped working after the update #185

Open
aspectvm opened this issue Jun 6, 2024 · 2 comments
Open

Gmail setup stopped working after the update #185

aspectvm opened this issue Jun 6, 2024 · 2 comments

Comments

@aspectvm
Copy link

aspectvm commented Jun 6, 2024

I had a setup for the gmail smtp, like so:

debug: true
mailer:
  engine: smtp
  smtp:
    server: smtp.gmail.com
    port: 587
    user: '[email protected]'
    password: 'xxxx xxxx xxxx xxxx'

It was working fine for my both sites (I have a multisite setup) until the most recent update to 4.1.0. version. Now, it is logging this error:

"Failed to authenticate on SMTP server with username "[email protected]" using the following authenticators: "LOGIN", "PLAIN", "XOAUTH2". Authenticator "LOGIN" returned "Expected response code "235" but got code "535", with message "535-5.7.8 Username and Password not accepted. For more information, go to 535 5.7.8 https://support.google.com/mail/?p=BadCredentials a640c23a62f3a-a6c805c59a2sm133747166b.50 - gsmtp".". Authenticator "PLAIN" returned "Expected response code "235" but got code "535", with message "535-5.7.8 Username and Password not accepted. For more information, go to 535 5.7.8 https://support.google.com/mail/?p=BadCredentials a640c23a62f3a-a6c805c59a2sm133747166b.50 - gsmtp".". Authenticator "XOAUTH2" returned "Expected response code "235" but got code "334", with message "334 eyJzdGF0dXMiOiI0MDAiLCJzY2hlbWVzIjoiQmVhcmVyIiwic2NvcGUiOiJodHRwczovL21haWwuZ29vZ2xlLmNvbS8ifQ==".". [] []"

I have tested the same credentials with phpMailer in a separate script, and it works no problem. This plugin (for me, at least) only works with Outlook currently, but not with Gmail.

@rhukster
Copy link
Member

rhukster commented Jun 6, 2024

What version did you update from?

@aspectvm
Copy link
Author

aspectvm commented Jun 7, 2024

The previous one 4.0.4. I also tried sending email with Gmail using CLI test command. Same situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants