Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
UPGRADING.md out of sync #1242
I think, that at least this (below) part of the UPGRADING.md doc is not in sync with the code.
The PHPMailer:$LE is still in current codebase.
Can you please adjust these issues? I used the PHPMailer::CRLF in my extension, so i need some "replacement" and protected property $LE is not a way, as i'm not extending the class.
added a commit
Nov 15, 2017
I've updated the doc. What it said was true at one point before 6.0 was released - it wasn't clear at the time that mail() on some OSs breaks if you use CRLF breaks. The CRLF constant is gone (because there is no longer any need for it), but you can get the current break string with
I don't know why you're using it, but generally line breaks within message bodies are normalised to the sending format before use, which may eliminate whatever you're using it for. This avoids problems with mixed line break formats which were a persistent problem in 5.2; 6.0 is far more consistent.