Filter: gform_pre_send_email
Modify the email before a notification has been sent.
You may also use this to prevent an email from being sent.
Parameters
| Name | Type | Description |
|---|---|---|
array | An array containing the email to address, subject, message, headers, attachments and abort email flag. | |
| $message_format | string | The message format: html or text. |
| $notification | array | The current Notification object. |
| $entry | array | The current Entry object. |
Since
- 2.2.3.8: Added $entry parameter.
- 1.9.15.6: Added $notification parameter.
- Unknown: Unknown
Source
Defined in common.php at line 2459