Skip to content

boolean_smtp_mail_fallback

Fires before a failed send is retried through the fallback connection.

action Tier A Since 1.0.0

Signature

add_action( 'boolean_smtp_mail_fallback', $callback, 10, 1 );

Parameters

ParameterTypeDescription
$payloadarray<string, mixed>Retry payload: to, subject, message, headers, attachments, fallback_id.

Fires in

Example

boolean_smtp_mail_fallback.php
add_action( 'boolean_smtp_mail_fallback', function ( array $payload ) {
// React to the event.
}, 10, 1 );

Next steps