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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: walton at nordicdms dot com
New email:
PHP Version: OS:

 

 [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: Mon Apr 29 00:01:32 2024 UTC