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
Mixed line endings cause e-mail body length issues resulting in DKIM signature failure #201
Combination of incorrect and mixed CRLF and LF line endings in sent e-mail causes body length mismatches that result in DKIM signature failures. The below patch fixes this by replacing CR and LF characters in strings with the PHP 5 predefined constant PHP_EOL.