Skip to content

process.action_mailer

View Markdown

Rails generated an Action Mailer message.

Source Action Mailer Category Mail Fields 18 honeybadger-ruby

Fields

18
FieldTypeDescription
event_typestringAllowed value: process.action_mailer.
mailerstringMailer class name, e.g. "UserMailer".
actionstringMailer action method, e.g. "welcome_email".
message_idstringMessage-ID header of the generated email.
subjectstringEmail subject line.
toarray<string>Recipient addresses.
ccarray<string>CC addresses.
bccarray<string>BCC addresses.
datestringEmail date header as a string.
attachmentsarray<object>File attachments included in the email.
attachments.filenamestring
paramsobjectParams passed to the mailer action.
params.*anyAdditional caller-defined keys.
durationnumberDuration in milliseconds.
instrumenter_idstringRails instrumenter UUID.
request_idstringRails request UUID, present on any event fired during a web request context. Merged globally by the Honeybadger agent.
hostnamestringServer hostname. Attached to every event by default (events.attach_hostname).
environmentstringApplication environment, e.g. "production". Attached to every event by default (events.attach_environment).

Example

{
"event_type": "process.action_mailer",
"mailer": "UserMailer",
"action": "welcome_email",
"message_id": "684af2d1c3b4a_1a2b3c4d5e6f@web-1.example.com.mail",
"subject": "Welcome to Example App",
"to": [
"user@example.com"
],
"cc": [
"support@example.com"
],
"bcc": [
"audit@example.com"
],
"date": "Fri, 12 Jun 2026 14:30:00 +0000",
"attachments": [
{
"filename": "welcome-guide.pdf"
}
],
"params": {
"user_id": 123
},
"duration": 84.21,
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}