aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_mailer_basics.md
diff options
context:
space:
mode:
authorMike Gunderloy <MikeG1@larkfarm.com>2017-05-24 11:38:57 -0500
committerMike Gunderloy <MikeG1@larkfarm.com>2017-05-24 11:41:30 -0500
commitd0854d397ac72e50420e7c86a29db84cc5de4eac (patch)
treef93274787b92167deec416b161f628f3173d6e97 /guides/source/action_mailer_basics.md
parent0b8441bd415c444b8d4afbfc93af79ec7677aa2c (diff)
downloadrails-d0854d397ac72e50420e7c86a29db84cc5de4eac.tar.gz
rails-d0854d397ac72e50420e7c86a29db84cc5de4eac.tar.bz2
rails-d0854d397ac72e50420e7c86a29db84cc5de4eac.zip
Update information on using Gmail when 2FA is in use [ci skip]
Diffstat (limited to 'guides/source/action_mailer_basics.md')
-rw-r--r--guides/source/action_mailer_basics.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/guides/source/action_mailer_basics.md b/guides/source/action_mailer_basics.md
index 65146ee7da..baea924c7f 100644
--- a/guides/source/action_mailer_basics.md
+++ b/guides/source/action_mailer_basics.md
@@ -781,7 +781,8 @@ config.action_mailer.smtp_settings = {
enable_starttls_auto: true }
```
Note: As of July 15, 2014, Google increased [its security measures](https://support.google.com/accounts/answer/6010255) and now blocks attempts from apps it deems less secure.
-You can change your gmail settings [here](https://www.google.com/settings/security/lesssecureapps) to allow the attempts or
+You can change your gmail settings [here](https://www.google.com/settings/security/lesssecureapps) to allow the attempts. If your Gmail account has 2-factor authentication enabled,
+then you will need to set an [app password](https://myaccount.google.com/apppasswords) and use that instead of your regular password. Alternatively, you can
use another ESP to send email by replacing 'smtp.gmail.com' above with the address of your provider.
Mailer Testing