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.
$mail_dataarray
to string[]subject stringmessage stringheaders string[]attachments string[]do_action( 'wp_mail_succeeded', $mail_data );
| Version | Description |
|---|---|
| 5.9.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_mail_succeeded