gform_sendgrid_send_email_failed

gform_sendgrid_send_email_failed

DescriptionUsageParametersSinceSource Code

Description
Triggered when an email from Gravity Forms fails to be passed to SendGrid.
Usage
add_action( 'gform_sendgrid_send_email_failed', 'my_function', 10, 6 );

Parameters

$error_message string
The error message.

$sendgrid_email array
The SendGrid email arguments.

$email array
The original email details.

$message_format array
The message format, html or text.

$notification array
The Notification object.

$entry array
The current Entry object.

Since
This action hook was added in SendGrid version 1.4.
Source Code
This action hook is located in GF_SendGrid::maybe_send_email() in gravityformssendgrid/class-gf-sendgrid.php.

發表回覆

您的郵箱地址不會被公開。 必填項已用 * 標註