PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Logging » Log » Bug #4107

Mail Handler doesn't send carriage return

Details

Submitted2005-04-08 20:19 UTC
Fromkstout at amplifier dot com
Assignedjon
StatusClosed
PackageLog
PHP Version4.3.10
OSany
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.