aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authormelissawahnish <melissawahnish@gmail.com>2015-08-08 13:57:07 -0400
committermelissawahnish <melissawahnish@gmail.com>2015-08-08 14:02:33 -0400
commit1896be9741acedfab315cec8f024094c08ec46ae (patch)
tree1bdc6ab147d7091623d2597f4aa35cc2d155298c /guides
parent3a7609e2bafee4b071fe35136274e6ccbae8cacd (diff)
downloadrails-1896be9741acedfab315cec8f024094c08ec46ae.tar.gz
rails-1896be9741acedfab315cec8f024094c08ec46ae.tar.bz2
rails-1896be9741acedfab315cec8f024094c08ec46ae.zip
[ci skip] Adding a note to Action Mailer Basics documentation that Google increased its
security measures so using the example for Gmail will return a “Password Incorrect” error, and you will receive an email from Google that they blocked a sign-in attempt. You can change your Gmail settings or use another ESP. I discovered this when I was testing a simple mailer example app and was just going to use my personal Gmail account for the test. I think it would be best to note this change since now Gmail may not be the best option for a quick test. I hope this saves time for other Rails developers. The Gmail example does show a good example of how to configure the smpt settings.
Diffstat (limited to 'guides')
-rw-r--r--guides/source/action_mailer_basics.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/guides/source/action_mailer_basics.md b/guides/source/action_mailer_basics.md
index d3dd0e5bf2..c39cd34e9a 100644
--- a/guides/source/action_mailer_basics.md
+++ b/guides/source/action_mailer_basics.md
@@ -759,6 +759,9 @@ config.action_mailer.smtp_settings = {
authentication: 'plain',
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
+use another ESP to send email by replacing 'smpt.gmail.com' above with the address of your provider.
Mailer Testing
--------------