Alert emails missing trailing `\r\n` after `Content-Type` header
-
I append headers to all emails from my website via
wp_mailfilter, however for WordFence Alert (!) emails any headers I add get concatenated onto the Content-Type value, producing malformed headers that strict MTAs (e.g. Amazon SES) reject withInvalidParameterValueIn my FluentSMTP email log I see the following for the failed WordFence Alert emails:
"content-type": "text/htmlReply-To: ..."This is about the
[Wordfence Alert] Problems found on...emails — not the Activity Log digest, which send fine.The solution would be to add a trailing
\r\nto that content-type (following RFC 2822).
You must be logged in to reply to this topic.