aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2012-03-07 07:39:20 -0800
committerRyan Bigg <radarlistener@gmail.com>2012-03-11 16:19:09 -0700
commita42eedb3a3d55097624d5b6a9509d4d79264a391 (patch)
tree7cc609080e066181b60e73145e4b5193ea78585c /railties/guides/source
parent4daef7427b3d63bdda4ac99df25fb3de32dfe9cd (diff)
downloadrails-a42eedb3a3d55097624d5b6a9509d4d79264a391.tar.gz
rails-a42eedb3a3d55097624d5b6a9509d4d79264a391.tar.bz2
rails-a42eedb3a3d55097624d5b6a9509d4d79264a391.zip
[instrumentation guide] Cover deliver.action_mailer event
Diffstat (limited to 'railties/guides/source')
-rw-r--r--railties/guides/source/active_support_instrumentation.textile18
1 files changed, 18 insertions, 0 deletions
diff --git a/railties/guides/source/active_support_instrumentation.textile b/railties/guides/source/active_support_instrumentation.textile
index 79901a619c..26a5265143 100644
--- a/railties/guides/source/active_support_instrumentation.textile
+++ b/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