From 1896be9741acedfab315cec8f024094c08ec46ae Mon Sep 17 00:00:00 2001 From: melissawahnish Date: Sat, 8 Aug 2015 13:57:07 -0400 Subject: =?UTF-8?q?[ci=20skip]=20Adding=20a=20note=20to=20Action=20Mailer?= =?UTF-8?q?=20Basics=20documentation=20that=20Google=20increased=20its=20s?= =?UTF-8?q?ecurity=20measures=20so=20using=20the=20example=20for=20Gmail?= =?UTF-8?q?=20will=20return=20a=20=E2=80=9CPassword=20Incorrect=E2=80=9D?= =?UTF-8?q?=20error,=20and=20you=20will=20receive=20an=20email=20from=20Go?= =?UTF-8?q?ogle=20that=20they=20blocked=20a=20sign-in=20attempt.=20=20You?= =?UTF-8?q?=20can=20change=20your=20Gmail=20settings=20or=20use=20another?= =?UTF-8?q?=20ESP.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- guides/source/action_mailer_basics.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'guides') 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 -------------- -- cgit v1.2.3