boolean_smtp_mailer_resolved
Fires after the mailer has been fully configured for a send, with diagnostic details about the resolved connection and transport.
action Tier B Since 1.0.0
Signature
add_action( 'boolean_smtp_mailer_resolved', $callback, 10, 1 );Parameters
| Parameter | Type | Description |
|---|---|---|
$diagnostics | array{
connection_id: int, connection_name: string, connection_type: string, delivery_mode: string,
mailer: string, host: string, port: int, smtp_auth: bool, encryption: string,
from: string, sender: string, from_name: string
} | Diagnostic snapshot of the resolved mailer configuration. |
Fires in
app/Services/Mailer/MailerManager.php:1245—BooleanSmtp\Services\Mailer\MailerManager::emitMailerDiagnostics()
Example
add_action( 'boolean_smtp_mailer_resolved', function ( array $diagnostics ) { // 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.