wp_mail_failed – action

Fires after a PHPMailer\PHPMailer\Exception is caught. 

Parameters

.
( 4.4.0 ) . .
$error
( WP_Error ) A WP_Error object with the PHPMailer\PHPMailer\Exception message, and an array containing the mail recipient, subject, message, headers, and attachments. . . .
API Letters: ,,

Implementers