From 1267f6df79ef66e43467b65b2f2b12958ca0530b Mon Sep 17 00:00:00 2001 From: dikond Date: Wed, 27 Jun 2018 21:50:28 +0300 Subject: Note deliver_later_queue_name gotcha in ActionMailer guide [ci skip] --- guides/source/action_mailer_basics.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'guides/source/action_mailer_basics.md') 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`: -- cgit v1.2.3