php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #622 mail() not RFC821/822 compliant (3/4)
Submitted: 1998-08-06 00:49 UTC Modified: 1998-08-13 15:59 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: walton at nordicdms dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.2a OS: Win32
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
43 + 8 = ?
Subscribe to this entry?

 
 [1998-08-06 00:49 UTC] walton at nordicdms dot com
Multiline result codes
----------------------
RFC821 Appendix E:
  The format for multiline replies requires that every line,
  except the last, begin with the reply code, followed
  immediately by a hyphen, "-" (also known as minus), 
  followed by text.  The last line will begin with the reply 
  code, followed immediately by <SP>, optionally some text, 
  and <CRLF>.

  In many cases the sender-SMTP then simply needs to search 
  for the reply code followed by <SP> at the beginning of a 
  line, and ignore all preceding lines.


The current Ack() function in sendmail.c only looks at the
reply code on the first line of a multiline reply, rather
than the reply code that is followed by <SP>.  I don't know
if there is any way this could be a problem, but it can't
hurt to have it documented.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-08-13 15:59 UTC] shane
see #621
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 14 20:01:31 2024 UTC