wp_mail_succeeded – action
Fires after PHPMailer has successfully sent an email. The firing of this action does not necessarily mean that the recipient(s) received the email successfully. It only means that the `send` method above was able to process the request without any errors.
Parameters
- .
- ( 5.9.0 ) . .
- $mail_data
- ( array ) { An array containing the email recipient(s), subject, message, headers, and attachments. . . .
- $to
- ( string[] ) Email addresses to send message. . . .
- ( string ) $subject Email subject. . . .
- ( string ) $message Message contents. . . .
- $headers
- ( string[] ) Additional headers. . . .
- $attachments
- ( string[] ) Paths to files to attach. } . . .