Ticket #28 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

smtp_send() should append CR+LF after each body line

Reported by: rjl Owned by: rjl
Priority: normal Milestone: 1.0.0 RC6
Component: PHP scripts Version: 1.0.0 RC5
Severity: minor Keywords: smtp_send crlf linefeed carriage return rfc
Cc:

Description

Currently smtp_send() sends a CR+LF after each socket write, but the body of the e-mail gets sent as a single write. To be RFC821-compliant, all LF (\n) in the mail body should be replaced with CR+LF (\r\n) before sending.

Change History

Changed 7 years ago by dmorton

  • status changed from new to closed
  • resolution set to fixed

Should be fixed in [472] using PEAR::Net_SMTP

Note: See TracTickets for help on using tickets.