|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17850 Error sending mail messages
Submitted: 2002-06-19 14:26 UTC Modified: 2002-09-11 11:22 UTC
From: isaias at sinos dot net Assigned:
Status: Not a bug Package: Mail related
PHP Version: 4.2.1 OS: NT Server 4.0
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.
Block user comment
Status: Assign to:
Bug Type:
From: isaias at sinos dot net
New email:
PHP Version: OS:


 [2002-06-19 14:26 UTC] isaias at sinos dot net
When we tried to send email's (PHP sending to IIS 4.0 or PHP sending to MS Exchange 5.5), some domains refuse the messages. The error reported by the remote mail server is that the message is not being finished with "CR LF . CR LF", that is the standard way to finish a mail message. But if I send the same mail via ASP (IIS) or webmail/outlook (Exchange) the mail reaches the destination...


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-19 14:42 UTC]
Win32/mail() imeplementaton is picky about this and it's your responsibility to use \r\n as line seperator. Efforts have been made to address this issue, please test the latest version from
 [2002-09-11 11:22 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Sep 25 08:01:25 2023 UTC