# 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

```php
add_action( 'boolean_smtp_mailer_resolved', $callback, 10, 1 );
```

## Parameters

| Name | 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](https://github.com/booleanpress/boolean-smtp-src/blob/main/app/Services/Mailer/MailerManager.php#L1245) — `BooleanSmtp\Services\Mailer\MailerManager::emitMailerDiagnostics()`

## Example

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