Skip to content

Commit c8865f0

Browse files
authored
Tidy up wording in "Action Mailer Configuration for Gmail" [skip ci] [docs]
Avoid using the word "now" as this makes the documentation less timeless.
1 parent ba1ec19 commit c8865f0

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

guides/source/action_mailer_basics.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -833,8 +833,8 @@ config.action_mailer.default_options = {from: '[email protected]'}
833833

834834
### Action Mailer Configuration for Gmail
835835

836-
As Action Mailer now uses the [Mail gem](https://github.com/mikel/mail), this
837-
becomes as simple as adding to your `config/environments/$RAILS_ENV.rb` file:
836+
Action Mailer uses the [Mail gem](https://github.com/mikel/mail) and accepts similar configuration.
837+
Add this to your `config/environments/$RAILS_ENV.rb` file to send via Gmail:
838838

839839
```ruby
840840
config.action_mailer.delivery_method = :smtp
@@ -848,10 +848,9 @@ config.action_mailer.smtp_settings = {
848848
enable_starttls_auto: true }
849849
```
850850

851-
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.
851+
NOTE: On July 15, 2014 Google increased [its security measures](https://support.google.com/accounts/answer/6010255) to block attempts from apps it deems less secure.
852852
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,
853-
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
854-
use another ESP to send email by replacing 'smtp.gmail.com' above with the address of your provider.
853+
then you will need to set an [app password](https://myaccount.google.com/apppasswords) and use that instead of your regular password.
855854

856855
Mailer Testing
857856
--------------

0 commit comments

Comments
 (0)