Hi,
I don’t know if anyone else has run in to this, but we are upgrading from EE2.5.3 to EE3. For the life of me, I couldn’t get email to send from either the Communicate page or my module. I checked the responses, and they were all good. No errors and it said the email sent, but it never arrived.
After struggling for a while, I found again, by digging in the code, that in the file ee/legacy/libraries/Email.php, there is a setting for “newline” and “crlf”. Both default to “\n”. However, for the server I am using to send our SMTP mail through, it needs “\r\n”.
Is there any way to move this to a config file so I don’t have to edit a system file with every upgrade? Maybe not possible, but it is a pain when the system says it sent the mail fine but it doesn’t work and I have to dig in to find it (and yes, I documented it this time!:-)
Thanks! Steve
Hi Steve,
We have some config overrides that you’ll want to look at.
In particular, email_newline
and email_crlf
.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.