Opened 16 years ago

Closed 16 years ago

#28 closed defect (fixed)

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 (1)

comment:1 Changed 16 years ago by dmorton

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.