- No changes.
- No changes.
- No changes.
- No changes.
-
Bring back proc with arity of 1 in
ActionMailer::Base.defaultproc since it was supported in Rails 5.0 but not deprecated.Jimmy Bourassa
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
-
Add
:argstoprocess.action_mailerevent.Yuji Yaginuma
-
Add parameterized invocation of mailers as a way to share before filters and defaults between actions. See
ActionMailer::Parameterizedfor a full example of the benefit.DHH
-
Allow lambdas to be used as lazy defaults in addition to procs.
DHH
-
Mime type: allow to custom content type when setting body in headers and attachments.
Example:
def test_emails attachments["invoice.pdf"] = "This is test File content" mail(body: "Hello there", content_type: "text/html") endMinh Quy
-
Exception handling: use
rescue_fromto handle exceptions raised by mailer actions, by message delivery, and by deferred delivery jobs.Jeremy Daer
Please check 5-0-stable for previous changes.