Commit fe6d862d authored by eileen's avatar eileen 🎱
Browse files

Add note about dying keys

parent b982f985
......@@ -22,7 +22,7 @@ This hook is called when an email is being prepared for sending by CiviCRM.
## Details
- $params array fields include: groupName, from, toName, toEmail,
- $params array fields include: workflow_name, from, toName, toEmail,
subject, cc, bcc, text, html, returnPath, replyTo, headers (array),
attachments (array), and possibly others depending on context.
- If you want to abort the mail from being sent, set the boolean
......@@ -31,6 +31,8 @@ This hook is called when an email is being prepared for sending by CiviCRM.
early in the message generation (before tokens are applied, with the context
`messageTemplate`) and then later from `CRM_Utils_Mail::send()` with the
context `singleEmail`.
- `valueName` and `groupName` are being phased out of the `$params` as
these no longer have significance in core. `workflow_name` should be checked instead.
## Adding custom headers to the email
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment