PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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.