4

When using wp_mail(), is there any way to verify that the email was sent correctly?

3

As you have probably found, for wp_mail():

A true return value does not automatically mean that the user received the email successfully.

A possible workaround is to add an email address that you have access to in the recipients list, and if the one email address receives the mail you can be reasonably (although not 100%) certain that the message was sent.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.