Skip to content

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

ParameterTypeDescription
$eventarray<string, mixed>
  connection_idintConnection whose OAuth token failed to refresh.
  driverstringOAuth provider driver key.
  error_codestringStandardized error code.
  timestampintUnix timestamp (UTC) when notification dispatch started.

Fires in

Example

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

Next steps