Home›Forums›General Support – NOT for Volunteer and PTA plugins!›PTA Sign-up reminders being marked as SPAM
- This topic has 4 replies, 2 voices, and was last updated 8 years, 7 months ago by Stephen Sherrard.
-
AuthorPosts
-
-
September 9, 2015 at 7:53 AM #5561Ron KaznowskiParticipant
We’ve been having some issues with e-mail being sent from our site being marked as SPAM. We have been able to make a few configuration changes that corrected this issue with e-mail being sent from all sources except for the PTA Sign-up plugin which is still being marked as SPAM by the recipient’s e-mail provider.
During testing, I see a somewhat different header with the reminder e-mails (marked as SPAM) than e-mail being sent from our website through other means:
Here is the header information from the reminder e-mail:
from: Tri-Community Food Pantry <info@tri-communityfood.org>
reply-to: info@tri-communityfood.org
to: Ron Kaznowski <ron.k@tri-communityfood.org>
date: Tue, Sep 8, 2015 at 8:25 PM
subject: Volunteer Reminder
mailed-by: falcon.jm-corp.netHere is the header information from e-mail sent via other means:
from: Tri-Community Food Pantry <info@tri-communityfood.org>
reply-to: Tri-Community Food Pantry <info@tri-communityfood.org>
to: info@tri-communityfood.org
date: Wed, Sep 9, 2015 at 8:54 AM
subject: Tri-Community Food Pantry – New registered user
mailed-by: tri-communityfood.orgThis header information was provided by g-mail. The one thing that jumps out at me is the value for mailed-by. falcon.jm-corp.net is the name of the server our website is hosted on. tri-communityfood.org is our domain.
Any thoughts?
Ron Kaznowski
ronkaznowski@gmail.com -
September 9, 2015 at 8:51 AM #5563Stephen SherrardKeymaster
Please see this support thread about the plugin and emails on the WordPress.org support forum:
https://wordpress.org/support/topic/only-some-confirmation-emails?replies=11
I strongly recommend you install a SMTP plugin and connect to a real email account instead of using the server PHP sendmail function (which is what WordPress uses by default).
My plugin does NOT set the mailed-by header info, that is set by the WordPress/PHP mail function. My plugin only sets the email addresses (from, to, BCC, reply-to), subject, and content type header, plus message. Then it calls the wp_mail function, which handles the actual sending of the email.
The messages coming from my plugin should not be any different than any other messages generated/sent by WordPress, unless some other plugin is modifying those.
I always recommend using SMTP through a real email account, as those types of emails are more reliable and much less likely to be marked as SPAM. I used to use Easy WP SMTP, but since I use Google business email for all my sites now, I have switched to the much better Postman SMTP plugin, which allows OAuth connections (much more secure and reliable). Any of these plugins will tap into the wp_mail function and reconfigure WordPress to send via SMTP through a real SMTP email account, which is always the preferred way to go. Otherwise, you end up using the server PHP sendmail function which either sends out email as “nobody” at your server, or your server account name (depending on how your server is configured to send mail as).
-
September 9, 2015 at 10:00 AM #5565Ron KaznowskiParticipant
Thank you for the quick reply Stephen. The e-mail issue we’ve been having has been a huge headache. I will definitely look into implementing your suggestion. As a side note, I was not aware of the wordpress.org forum for your plugin. I will make sure to search that too when researching an issue.
Ron
-
September 23, 2015 at 5:24 AM #5892Ron KaznowskiParticipant
I have installed the wpMandrill SMTP plugin to send e-mail however, the reminders are still being sent via the server and not via the Mandrill account. I am getting the volunteer housekeeping notifications sent via Mandrill though.
Ron
-
September 23, 2015 at 7:38 AM #5894Stephen SherrardKeymaster
Reminders are sent the exact same way as all the other emails… ALL of the emails sent by my plugin are sent via the WordPress mail function, wp_mail.
The only difference being that reminder emails are not CC’d or BCC’d to the chairs, so there are no CC or BCC headers sent. Reminder emails are sent one at a time, but still sent through the wp_mail function.
So, unless Mandrill doesn’t like that there is no CC or BCC address, not sure what it my plugin could be causing the problems. All of those SMTP plugins tap into the WordPress wp_mail hook to change the sending from PHP/Server methods to SMTP. My plugin has nothing to do with that.
Perhaps try a different SMTP plugin, such as Postman SMTP?
-
-
AuthorPosts
- You must be logged in to reply to this topic.