gform_postmark_send_email_failed

Description

Triggered when an email from Gravity Forms fails to be passed to Postmark.

Usage

add_action( 'gform_postmark_send_email_failed', 'my_function', 10, 6 );

Parameters

  • $error_message string

    The error message.

  • $postmark_email array

    The Postmark 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 Postmark version 1.2.

Source Code

This action hook is located in GF_Postmark::maybe_send_email() in gravityformspostmark/class-gf-postmark.php.