loading

Custom SMTP via Gmail or Google Workspace

If you use Gmail as your primary email service provider, you can also have Enchant send email via Gmail.

Enchant can deliver outbound emails to Gmail via TLS encrypted SMTP. The SMTP settings are as follows:

  • Host: smtp.gmail.com

  • Port: 587

  • Username: Your email address

  • Password: Your password

535-5.7.8 Username and Password not accepted.

Sometimes Gmail will reject SMTP connections with the following error: 535-5.7.8 Username and Password not accepted.

Step 1: Make sure you are using the right password. The same error is raised when using the wrong password.

Step 2: If you're 100% sure the password is right, then login to the Gmail account and go here and fill in any captcha they ask to prove a human does login to the account.

Step 3: Enable SMTP based password authentication. There are two ways to do this:

  • Option 1: Head to this page and enable Allow Less Secure Apps

  • Option 2: If the Less Secure Apps option is not available on your Gmail account, then the alternative method is to enable 2-Step Verification and then create an App Password for Enchant.

Why is Enchant using a Less Secure authentication method?: Enchant uses a TLS encrypted SMTP connection to Gmail's mail servers. This is just as secure as you typing your password into Google's web form to login (which uses a TLS encrypted HTTP connection). However, Google now considers any form of password based authentication less secure.