diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2018-06-29 12:42:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-29 12:42:22 +0200 |
commit | b906ee59c0d6436f2801e23093d89d59d7fa447d (patch) | |
tree | 77f833b8c71805d2f2c32aec9823a477775f7361 | |
parent | a845ffdbd6d02f2166c24524e85ed67598b11938 (diff) | |
parent | 1267f6df79ef66e43467b65b2f2b12958ca0530b (diff) | |
download | rails-b906ee59c0d6436f2801e23093d89d59d7fa447d.tar.gz rails-b906ee59c0d6436f2801e23093d89d59d7fa447d.tar.bz2 rails-b906ee59c0d6436f2801e23093d89d59d7fa447d.zip |
Merge pull request #33238 from dikond/explicit_action_mailer_deliver_later_queue_name
Note deliver_later_queue_name gotcha in ActionMailer guide
-rw-r--r-- | guides/source/action_mailer_basics.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/action_mailer_basics.md b/guides/source/action_mailer_basics.md index 86d06508b0..1f8c96ae43 100644 --- a/guides/source/action_mailer_basics.md +++ b/guides/source/action_mailer_basics.md @@ -217,6 +217,8 @@ pending jobs on restart. If you need a persistent backend, you will need to use an Active Job adapter that has a persistent backend (Sidekiq, Resque, etc). +NOTE: When calling `deliver_later` the job will be placed under `mailers` queue. Make sure Active Job adapter support it otherwise the job may be silently ignored preventing email delivery. You can change that by specifying `config.action_mailer.deliver_later_queue_name` option. + If you want to send emails right away (from a cronjob for example) just call `deliver_now`: |