[imp] IMP concatinating 1st line of message w/ message headers

Michael M Slusarz slusarz at bigworm.colorado.edu
Wed Aug 13 14:02:32 PDT 2003


Quoting Liam Hoekenga <liamr at umich.edu>:

| We're thinking it's a problem w/ "header folding" (as described in
| RFC2822, sections 2.2.1 and 2.2.3).  I see where PEAR's Mail/sendmail.php
| should be adding a blank line between the headers and body (around line
| 118)...
|
|             fputs($mail, $text_headers);
|             fputs($mail, $this->sep);  // newline to end the headers
| section
|             fputs($mail, $body);
|
| I upgraded to PEAR Mail 1.1.1 which "Minor fixes with newlines in
| headers", and my test servers have stopped doing this.. so I'm going to
| try a more widespread deployment.

FWIW, I use Mail 1.1.1 also so maybe that's the reason this weirdness has
gone away...

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the imp mailing list