Project

General

Profile

Email notification issue

Added by am2jr jr about 2 months ago

i'm using smtp.gmail.com as my SMTP server, but it is not working. when i try to click test email button in admin notification tab
it always showing the error "An error occurred while sending mail (535-5.7.8 Username and Password not accepted. For more information, go to )"
this is my configuration in yml.

email_delivery:
delivery_method: :smtp
smtp_settings:
enable_starttls_auto: true
address: "smtp.gmail.com"
port: 587
domain: "smtp.gmail.com"
authentication: :plain
user_name: ""
password: "myPassword"

please help, my email username and passowrd.. i have double confirm, its the correct one because its my personal email


Replies (1)

RE: Email notification issue - Added by Diana Peters about 1 month ago

To fix the "Username and Password not accepted" error with smtp.gmail.com, enable two-step verification for your Google account and generate an app-specific password. Use this app-specific password in your yml configuration. Also, ensure "Less Secure Apps" is enabled in your Google account settings if needed

    (1-1/1)