Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[instrumentation guide] Cover deliver.action_mailer event

  • Loading branch information...
commit a42eedb3a3d55097624d5b6a9509d4d79264a391 1 parent 4daef74
@radar radar authored
Showing with 18 additions and 0 deletions.
  1. +18 −0 railties/guides/source/active_support_instrumentation.textile
View
18 railties/guides/source/active_support_instrumentation.textile
@@ -50,6 +50,24 @@ The payload for this event has the following parameters related to the incoming
|date |Date of the mail|
|mail |The encoded form of the mail|
+h5. deliver.action_mailer
+
+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.
+
+The payload for this event has the following parameters related to the outgoing email:
+
+|_.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|
+
+
h4. Action Controller
h4. Action View
Please sign in to comment.
Something went wrong with that request. Please try again.