Hello Support Team,
I am using “The Newsletter Plugin” on a WordPress.com hosted site and I’ve run into a critical delivery issue after switching to Sender.net as my SMTP provider.
The Problem:
My newsletter deliveries are being rejected by the SMTP server with the following error:
“550 5.6.0 header Precedence is not allowed”
Technical Context:
It appears that my hosting environment (WordPress.com) is automatically injecting a priority header via a filter called wpcomsh_smtp_add_priority_header. However, Sender.net strictly forbids the “Precedence” header, causing the entire SMTP transaction to fail.
My Question:
Is there a specific setting within “The Newsletter Plugin” to disable or strip the Precedence: bulk header before the email is passed to the SMTP relay?
If there is no built-in setting, could you provide a specific hook or a code snippet compatible with your plugin that ensures this header is removed from the PHPMailer object during the sending process? We have already tried general WordPress phpmailer_init snippets, but they seem to be overridden by the host.
I would appreciate any guidance on how to force-strip this header specifically for outgoing newsletters.
Best regards,
Katharina