wp_mail_faild: You must provide at least one recipient email address.
-
I love this plugin. Recently, I’ve been using it to run scheduled backups. When the backup runs I get an error “You must provide at least one recipient email address.”
However, my backups are set to store locally only, not locally and email.
Before asking here I searched for that error message and could only find one post with the same error, but it did not address or resolve my issue.
From the error details you can see it’s just an empty array in the To field:
data => Array error => Object WP_Error errors => Array wp_mail_failed => Array 0 => You must provide at least one recipient email address. error_data => Array wp_mail_failed => Array to => Array() subject => [mydomain.com] message => ...
I’ve tried:
- Changing the default notification address to a specific admin.
- Disabling, deleting, and reinstalling the plugin.
- Creating a different admin user to test if an underscore in the username was causing it to be removed when sanitized for some reason.
- Disabling all plugins except Better WP Security.
- Changing to default theme.
Other email sent from WordPress arrives normally; notices from WordPress about user changes and contact forms for example.
Any help would be appreciated!
- The topic ‘wp_mail_faild: You must provide at least one recipient email address.’ is closed to new replies.