Skip to content
Snippets Groups Projects
Unverified Commit 3b046ae4 authored by Rich Lott's avatar Rich Lott Committed by GitHub
Browse files

Update docs/hooks/hook_civicrm_alterMailParams.md


Co-Authored-By: default avatarMikey O'Toole <mikey@mjco.uk>
parent 9769f7a1
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,9 @@ This hook is called when an email is being prepared for sending by CiviCRM.
You can add custom headers by appending to `$params['headers']`. Example:
``` php
$params['headers']['X-My-Header'] = 'my header value';
```
Note: the `headers` key may not exist in the `$params` array when passed into
the hook.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment