aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/CHANGELOG.md
diff options
context:
space:
mode:
authorMatthew Mongeau <halogenandtoast@gmail.com>2017-06-15 16:12:44 +0900
committerMatthew Mongeau <halogenandtoast@gmail.com>2017-06-15 16:41:23 +0900
commitd9bbde09fc57b29b889baadda18da943428fb06a (patch)
treeef40e7ea76e823d5562ada434a51501e5affcc28 /actionmailer/CHANGELOG.md
parentf2af91a7908d3474746e20781a3118379189a7aa (diff)
downloadrails-d9bbde09fc57b29b889baadda18da943428fb06a.tar.gz
rails-d9bbde09fc57b29b889baadda18da943428fb06a.tar.bz2
rails-d9bbde09fc57b29b889baadda18da943428fb06a.zip
Allow mailers to configure their delivery job
Setting delivery_job on a mailer class will cause MessageDelivery to use the specified job instead of ActionMailer::DeliveryJob: class MyMailer < ApplicationMailer self.delivery_job = MyCustomDeliveryJob ... end
Diffstat (limited to 'actionmailer/CHANGELOG.md')
-rw-r--r--actionmailer/CHANGELOG.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/actionmailer/CHANGELOG.md b/actionmailer/CHANGELOG.md
index e488d867de..83067dfd38 100644
--- a/actionmailer/CHANGELOG.md
+++ b/actionmailer/CHANGELOG.md
@@ -1 +1,11 @@
+* Allow ActionMailer classes to configure their delivery job
+
+ class MyMailer < ApplicationMailer
+ self.delivery_job = MyCustomDeliveryJob
+
+ ...
+ end
+
+ *Matthew Mongeau*
+
Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/actionmailer/CHANGELOG.md) for previous changes.