Headers in email
-
I have a quite a few WordPress websites and this problem has become a common issue.
When receiving emails from Contact Form 7, headers have started to appear in the body of the email. The following appears first followed by the message itself. I’ve replaced the domain name with sitename.comX-PHP-Originating-Script: 6697:class-phpmailer.php
Date: Thu, 23 Apr 2020 11:19:15 +0000
From: WordPress <[email protected]>
Message-ID: <[email protected]>
X-Mailer: PHPMailer 5.2.27 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8When replying to these emails the senders address is not the Reply-To. Instead, the To: field is populated with a server related address, which means the email goes nowhere.
At first I though this was a problem with Contact Form 7. However, I recently received an email notification from one of the websites to say that a comment had been held for moderation. The same headers were in this email.
After a bit of investigation I noticed that if I completely disable the Shield Security plugin, the problem stops. I investigated this more thoroughly and noticed that the problem remains if Shield is disabled in the General settings only. The only way to prevent this problem is to completely disable the plugin in the Plugins section.
Any suggestions?
Thanks
The topic ‘Headers in email’ is closed to new replies.