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
| Parameter | Type | Description |
|---|---|---|
$payload | array<string, mixed> | Retry payload: to, subject, message, headers, attachments, fallback_id. |
Fires in
app/Services/Mailer/MailFailureHandler.php:185—BooleanSmtp\Services\Mailer\MailFailureHandler::handle()
Example
add_action( 'boolean_smtp_mail_fallback', function ( array $payload ) { // React to the event.}, 10, 1 );Next steps
- Mail pipeline — every hook in this area, in firing order where that applies.
- Hook Explorer — filter and search every hook.