2012-06-21 03:20:12 +08:00
|
|
|
## Rails 4.0.0 (unreleased) ##
|
|
|
|
|
2012-10-28 02:28:42 +08:00
|
|
|
* Explicit multipart messages no longer set the order of the MIME parts.
|
|
|
|
*Nate Berkopec*
|
|
|
|
|
2012-09-30 04:29:29 +08:00
|
|
|
* Do not render views when mail() isn't called.
|
|
|
|
Fix #7761
|
|
|
|
|
|
|
|
*Yves Senn*
|
|
|
|
|
2012-08-20 21:22:12 +08:00
|
|
|
* Allow delivery method options to be set per mail instance *Aditya Sanghi*
|
|
|
|
|
|
|
|
If your smtp delivery settings are dynamic,
|
|
|
|
you can now override settings per mail instance for e.g.
|
|
|
|
|
|
|
|
def my_mailer(user,company)
|
2012-09-07 04:09:27 +08:00
|
|
|
mail to: user.email, subject: "Welcome!",
|
2012-08-20 21:22:12 +08:00
|
|
|
delivery_method_options: {user_name: company.smtp_user,
|
|
|
|
password: company.smtp_password}
|
|
|
|
end
|
|
|
|
|
|
|
|
This will ensure that your default SMTP settings will be overridden
|
|
|
|
by the company specific ones. You only have to override the settings
|
|
|
|
that are dynamic and leave the static setting in your environment
|
|
|
|
configuration file (e.g. config/environments/production.rb)
|
|
|
|
|
2012-07-07 09:51:31 +08:00
|
|
|
* Allow to set default Action Mailer options via `config.action_mailer.default_options=` *Robert Pankowecki*
|
|
|
|
|
2012-06-21 03:20:12 +08:00
|
|
|
* Raise an `ActionView::MissingTemplate` exception when no implicit template could be found. *Damien Mathieu*
|
|
|
|
|
2012-06-24 03:21:33 +08:00
|
|
|
* Asynchronously send messages via the Rails Queue *Brian Cardarella*
|
|
|
|
|
2012-10-10 17:56:21 +08:00
|
|
|
* Allow callbacks to be defined in mailers similar to `ActionController::Base`. You can configure default
|
|
|
|
settings, headers, attachments, delivery settings or change delivery using
|
|
|
|
`before_filter`, `after_filter` etc. *Justin S. Leitgeb*
|
|
|
|
|
2012-08-29 03:15:12 +08:00
|
|
|
Please check [3-2-stable](https://github.com/rails/rails/blob/3-2-stable/actionmailer/CHANGELOG.md) for previous changes.
|