wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_mail_succeeded › WordPress Action Hooks

Since5.9.0
Deprecatedn/a
do_action( 'wp_mail_succeeded', $mail_data )
Parameters:
  • (array) $mail_data An array containing the mail recipient, subject, message, headers, and attachments.
    Required: Yes
Defined at:
Codex:

Fires after PHPMailer has successfully sent a mail.

The firing of this action does not necessarily mean that the recipient received the email successfully. It only means that the send method above was able to process the request without any errors.





Source

do_action( 'wp_mail_succeeded', $mail_data );