- πΊπΈUnited States l-laziz
The patch from the issue RfcComplianceException: RFC 2822 π RfcComplianceException: RFC 2822 Needs work sets Return-Path correctly.
Hi together
I am facing an issue, when trying to send HTML mail using the mimemail module.
The problem i have is, that the Return-Path header is not set correctly in the outgoing Mail. that leads to problems with many mail providers.
I tracked the problem down to the function MimeMailFormatHelper::mimeMailHeaders where this function wraps the return-Path into <> brackets. This leads to a problem in PhpMail::mail() where $site_mail === $message['Return-Path'] is false then, since $message['Return-Path'] is wrapped. Also the wrapped address is not shellsafe, which results in sendmail using the default address, which is not correct in my case.
i will create a patch for that.
Closed: works as designed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
The patch from the issue RfcComplianceException: RFC 2822 π RfcComplianceException: RFC 2822 Needs work sets Return-Path correctly.