2014-09-22 10:08:17 -04:00
|
|
|
* Attachments can be added while rendering the mail template.
|
|
|
|
|
|
|
|
Fixes #16974.
|
|
|
|
|
|
|
|
*Christian Felder*
|
|
|
|
|
2014-09-17 18:10:51 -04:00
|
|
|
* Added `#deliver_later`, `#deliver_now` and deprecate `#deliver` in favour of
|
|
|
|
`#deliver_now`. `#deliver_later` will enqueue a job to render and deliver
|
2014-08-20 08:34:37 -04:00
|
|
|
the mail instead of delivering it right at that moment. The job is enqueued
|
|
|
|
using the new Active Job framework in Rails, and will use whatever queue is
|
|
|
|
configured for Rails.
|
|
|
|
|
2014-10-16 03:11:41 -04:00
|
|
|
*DHH*, *Abdelkader Boudih*, *Cristian Bica*
|
2014-08-17 19:57:57 -04:00
|
|
|
|
2014-09-17 18:10:51 -04:00
|
|
|
* Make `ActionMailer::Previews` methods class methods. Previously they were
|
|
|
|
instance methods and `ActionMailer` tries to render a message when they
|
2014-08-14 06:50:46 -04:00
|
|
|
are called.
|
|
|
|
|
|
|
|
*Cristian Bica*
|
|
|
|
|
2014-06-19 18:26:29 -04:00
|
|
|
* Deprecate `*_path` helpers in email views. When used they generate
|
|
|
|
non-working links and are not the intention of most developers. Instead
|
|
|
|
we recommend to use `*_url` helper.
|
|
|
|
|
|
|
|
*Richard Schneeman*
|
|
|
|
|
2014-07-29 03:21:47 -04:00
|
|
|
* Raise an exception when attachments are added after `mail` was called.
|
|
|
|
This is a safeguard to prevent invalid emails.
|
|
|
|
|
|
|
|
Fixes #16163.
|
|
|
|
|
|
|
|
*Yves Senn*
|
|
|
|
|
2014-07-01 12:09:24 -04:00
|
|
|
* Add `config.action_mailer.show_previews` configuration option.
|
2014-06-29 10:12:25 -04:00
|
|
|
|
|
|
|
This config option can be used to enable the mail preview in environments
|
|
|
|
other than development (such as staging).
|
|
|
|
|
|
|
|
Defaults to `true` in development and false elsewhere.
|
|
|
|
|
|
|
|
*Leonard Garvey*
|
|
|
|
|
2014-06-15 08:13:34 -04:00
|
|
|
* Allow preview interceptors to be registered through
|
|
|
|
`config.action_mailer.preview_interceptors`.
|
|
|
|
|
|
|
|
See #15739.
|
|
|
|
|
|
|
|
*Yves Senn*
|
|
|
|
|
2014-02-25 07:14:35 -05:00
|
|
|
Please check [4-1-stable](https://github.com/rails/rails/blob/4-1-stable/actionmailer/CHANGELOG.md) for previous changes.
|