aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_mailer_basics.md
diff options
context:
space:
mode:
authordikond <di.kondratenko@gmail.com>2018-06-27 21:50:28 +0300
committerdikond <di.kondratenko@gmail.com>2018-06-27 21:52:40 +0300
commit1267f6df79ef66e43467b65b2f2b12958ca0530b (patch)
tree643010a513a1f3213b37c2704f573ffffe0bc579 /guides/source/action_mailer_basics.md
parentcb0fdaacb277bd0595bfd73178329922aa24477e (diff)
downloadrails-1267f6df79ef66e43467b65b2f2b12958ca0530b.tar.gz
rails-1267f6df79ef66e43467b65b2f2b12958ca0530b.tar.bz2
rails-1267f6df79ef66e43467b65b2f2b12958ca0530b.zip
Note deliver_later_queue_name gotcha in ActionMailer guide [ci skip]
Diffstat (limited to 'guides/source/action_mailer_basics.md')
-rw-r--r--guides/source/action_mailer_basics.md2
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`: