formcierge_after_send_email
Action
Since v1.0.0
Fires after a notification email has been dispatched. Use for delivery logging, analytics, or triggering follow-up actions.
Parameters
$to
string
Recipient email address.
$subject
string
Email subject line.
$message
string
Email body.
$form_id
int
The ID of the form.
includes/Core/Mailer.php
Basic Usage
add_action( 'formcierge_after_send_email', function ( $to, $subject, $message, $form_id ) {
my_slack_notify( "Email sent to $to for form $form_id" );
}, 10, 4 );