Emails are not sending!
-
Hey Mike!
I found some useful questions in this forum to help troubleshoot potential problems with sending through your plugin.
But for some reason, emails are not being sent out.
Here are my answers to your questions…
On the Settings page (Dashboard > Settings > Email Users) there is a Test Notification message. Does that work?
Unfortunately not.
Also on the Dashboard are a couple of notification boxes on the upper right hand side which tell you if any of the filters which affect WordPress email are active – what do they report?
wp_mail_content_type: No
wp_mail_charset: No
wp_mail_from: No
wp_mail_from_name: YesThe “Yes” comes from the following code in my functions.php, but when removed and “wp_mail_from_name” changes to “No” — It still doesn’t work.
function change_wp_mail_from_name($from_name){ return "CHOSEN_NAME_HERE"; } add_filter("wp_mail_from_name", "change_wp_mail_from_name");Email Users utilizes wp_mail(), the same mechanism WordPress itself uses to send email. Do you receive email from your WordPress site (user registration, comment notification, etc.)?
Yes. WordPress, BuddyPress and Contact Form 7 all send emails. Furthermore, I deactivated ALL plugins to see if they might be causing conflict. Still no dice.
How many users are you trying to run your test with? I recommend starting with one and once that works, try two or three.
I tried with 1 user and the Test Notification Message, neither worked.
Also, expected and actual do match.
Could the problem be with my host? Or does that fact that other Emails from my WordPress site are working eliminate this concern.
Hopefully you can help me figure this one out! 🙂
Thanks in advance!
Dan
The topic ‘Emails are not sending!’ is closed to new replies.