+ActionController+ does not had any specific information to the payload. All options are passed through to the payload.
h4. redirect_to.action_controller
|_.Key |_.Value |
|+:status+ |HTTP response code|
|+:location+ |URL to redirect to|
<ruby>
{
:status => 302,
:location => "http://localhost:3000/posts/new"
}
</ruby>
The payload for this event has the following parameters related to the incoming email:
h4. halted_callback.action_controller
|_.Key |_.Value|
|mailer |Name of the mailer class|
|message_id |ID of the message, generated by the Mail gem|
|subject |Subject of the mail|
|to |To address(es) of the mail|
|from |From address of the mail|
|bcc |BCC addresses of the mail|
|cc |CC addresses of the mail|
|date |Date of the mail|
|mail |The encoded form of the mail|
|_.Key |_.Value |
|+:filter+ |Filter that halted the action|
h5. deliver.action_mailer
<ruby>
{
:filter => ":halting_filter"
}
</ruby>
This hook is called when the +deliver+ method is called on a +Mail::Message+ object. This is due to a hook inserted by Action Mailer, rather than a specific feature of the Mail gem itself.
h3. ActionView
The payload for this event has the following parameters related to the outgoing email:
h4. render_template.action_view
|_.Key |_.Value|
|mailer |Name of the mailer class|
|message_id |ID of the message, generated by the Mail gem|