Skip to content

boolean_smtp_mail_headers_normalized

Fires after headers have been normalized, before they are written back onto the message.

action Tier B Since 1.0.0

Signature

add_action( 'boolean_smtp_mail_headers_normalized', $callback, 10, 2 );

Parameters

ParameterTypeDescription
$headers\BooleanSmtp\Services\Mailer\Headers\MailHeadersNormalized header bag.
$message\BooleanSmtp\Services\Mailer\MailMessageMessage the headers belong to.

Fires in

Example

boolean_smtp_mail_headers_normalized.php
add_action( 'boolean_smtp_mail_headers_normalized', function ( \BooleanSmtp\Services\Mailer\Headers\MailHeaders $headers, \BooleanSmtp\Services\Mailer\MailMessage $message ) {
// React to the event.
}, 10, 2 );

Next steps