Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

[DEPRECATED] Gmail Configuration

William Johnston edited this page Jan 30, 2017 · 1 revision

This is not relevant as of 2.0

New in release v1.1.0

Using the example in the readme, you can get Gmail working, with a couple of caveats:

If you get the following error:

check_auth_response': 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=klsjflk (Net::SMTPAuthenticationError)
```

You may need to do a couple of things. First, if you have 2FA enabled, generate an application specific password and NOT use your normal password - see https://support.google.com/accounts/answer/185833?hl=en

If you do not have 2FA enabled, you may need to "Allow less secure apps". Google by default forces you to use OAuth 2.0 for authentication. Since we are using username/password auth, we need to allow this. https://support.google.com/accounts/answer/6010255

Finally, you may get your IP blocked while you are setting this up. If so, just follow the instructions here (http://stackoverflow.com/a/25209735/3042016) to run the captcha to reenable access to the SMTP server. After that point, you should be good to go.