Re: Gmail: multiple addresses in From:n550 5.7.1 header are not accepted
Reply #16 –
CRLF is the rfc standard and Debian follows that for its default mail packages. Only one I know which doesn’t conform well is qmail, but that’s a configuration option from memory.
You can however set the headers as an array from PHP 7.2 so it’s not decided by you but PHP itself, If that’s a benefit or not I don’t know…
Re: Gmail: multiple addresses in From:n550 5.7.1 header are not accepted
Reply #19 –
That comes across a tad bit mocking, no matter, I am trying to figure out why things were that way for many years.
Re: Gmail: multiple addresses in From:n550 5.7.1 header are not accepted
Reply #24 –
Thank you for that, interesting as well since its almost mirrors what I have.
Are you able to see what MTA your server has installed? Just trying to narrow things down. On my quick test setup ubuntu 20.04 w/postfix either /n or /r/n worked with PHP 7.4 and PHP 8.0 (I'm delinquent on 8.1 testing) We can assume you are not using Qmail since that is the only one that, according to the php site, requires /n ... that should leave (for the most part) postfix, exim or sendmail. If you don't have shell access it might show your MTA in outbound email headers.
I don't mind using just CRLF in 2.0 and see how it goes, but I'm hesitant to make a 1.1.9 change.
ETA: Answered my own question, looked back at the one you posted and it says (Exim 4.92.3) Now to set aside some time to setup a test server with that MTA