Home » Logging » Log » Bug #4107
Mail Handler doesn't send carriage return
Details
| Submitted | 2005-04-08 20:19 UTC |
|---|---|
| From | kstout at amplifier dot com |
| Assigned | jon |
| Status | Closed |
| Package | Log |
| PHP Version | 4.3.10 |
| OS | any |
| Roadmaps | (Not assigned) |
Comments
[2005-04-08 20:19 UTC] kstout at amplifier dot com
Description:
------------
The SMTP RFC (821) states that all lines must be terminated with \r\n. lines 125, 146, 210 of PEAR/Log/Log/Mail/Mail.php use \n.
Most MTAs are tolerant of this but QMail is not and will throw SMTP error 451 if it encounters \n without a \r.
A simple search and replace fixes the problem.