Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add changelog/release note entries for missing ActionMailer super fea…

…ture related to inclusion of callbacks in mailers
  • Loading branch information...
commit f16ec8c864ba12c2315713af76b11be5887cfa3a 1 parent 4c6f75c
@asanghi asanghi authored
Showing with 5 additions and 0 deletions.
  1. +3 −0  actionmailer/CHANGELOG.md
  2. +2 −0  guides/source/4_0_release_notes.md
View
3  actionmailer/CHANGELOG.md
@@ -27,4 +27,7 @@
* Asynchronously send messages via the Rails Queue *Brian Cardarella*
+* 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*
+
Please check [3-2-stable](https://github.com/rails/rails/blob/3-2-stable/actionmailer/CHANGELOG.md) for previous changes.
View
2  guides/source/4_0_release_notes.md
@@ -141,6 +141,8 @@ Action Mailer
end
```
+* Allow for callbacks in mailers similar to ActionController::Base. You can now set up headers/attachments using `before_filter` or `after_filter`. You could also change delivery settings or prevent delivery in an after filter based on instance variables set in your mailer action. You have access to `ActionMailer::Base` instance methods like `message`, `attachments`, `headers`.
+
Action Pack
-----------
Please sign in to comment.
Something went wrong with that request. Please try again.