MyBB Community Forums

Full Version: Weird headers with php mail
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

I had to reinstall my server, I use exmi4 (localhost) to send mail, MyBB 1.8.36 and php 8.2.7

When the forum send an email, I can see some errors in my exim logs:
rewrite: malformed address: Return-Path: [email protected]
 may not follow "=?UTF-8?B?Q29tbXVuYXV0w6kgRWdnZHJvcA==?=" <[email protected]>

Looking the source of a mail I received:
From: "=?UTF-8?B?Q29tbXVuYXV0w6kgRWdnZHJvcA==?=" <[email protected]>
 Return-Path: [email protected]
 Reply-To: [email protected]
 Message-ID: <[email protected]>
 Content-Transfer-Encoding: 8bit
 X-Priority: 3
 X-Mailer: MyBB
 MIME-Version: 1.0
 Content-Type: text/plain; charset=utf-8
Message-Id: <[email protected]>

And my mail client (thunderbird) shows multiple senders: "[email protected]" and "charset=utf-8"

When I send a mail directly with sendmail it's ok, so I can't understand the origin of the trouble. Any idea ?

Solved reading https://community.mybb.com/thread-239523...89513.html

Upgrade to 1.8.37 solves the trouble