boolean_smtp_oauth_failure_notified
Fires after an OAuth refresh failure has been handed to the supported notification channels.
action Tier B Since 1.0.0
Signature
add_action( 'boolean_smtp_oauth_failure_notified', $callback, 10, 1 );Parameters
| Parameter | Type | Description |
|---|---|---|
$event | array<string, mixed> | |
connection_id | int | Connection whose OAuth token failed to refresh. |
driver | string | OAuth provider driver key. |
error_code | string | Standardized error code. |
timestamp | int | Unix timestamp (UTC) when notification dispatch started. |
Fires in
app/Services/OAuth/OAuthFailureNotifier.php:97—BooleanSmtp\Services\OAuth\OAuthFailureNotifier::notifyFailure()
Example
add_action( 'boolean_smtp_oauth_failure_notified', function ( array $event ) { // React to the event.}, 10, 1 );Next steps
- Notifications — every hook in this area, in firing order where that applies.
- Hook Explorer — filter and search every hook.