Skip to content

boolean_smtp_mail_intake

Fires when a message enters the BooleanSMTP mail pipeline, before validation runs.

action Tier A Since 1.0.0

Signature

add_action( 'boolean_smtp_mail_intake', $callback, 10, 1 );

Parameters

ParameterTypeDescription
$attsarray<string, mixed>wp_mail-style arguments as received by the pipeline.

Fires in

Example

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

Next steps