Bug #15755 Updated: Can't send MAIL
| From: | glen at starrett dot nosolicit dot name | Date: | Thu, 02 May 2002 21:07:37 +0000 |
| Subject: | Bug #15755 Updated: Can't send MAIL | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-6782@lists.php.net to get a copy of this message | ||
ID: 15755
Updated by: glen@starrett.nosolicit.name
Reported By: milamamu@tiscalinet.it
Status: Open
Bug Type: Mail related
Operating System: Windows 98
PHP Version: 4.1.0
New Comment:
I have seen something similar, but it turned out to be nothing at all
PHP releated. The \n vs. \r\n makes the difference to some mail
transports, and they will reject mail with plain LF characters. That
is to say, if you are using \n and NOT \r\n, it will work for SOME
destination email addresses but not others and it is entirely dependent
on if you have a picky (that is, adhering to standards) or loose
(non-standard but common) mail transport in between you and the email
address you are sending to.
Previous Comments:
------------------------------------------------------------------------
[2002-02-27 04:43:19] milamamu@tiscalinet.it
The mail() function does not seem to work
I am using PHP 4.1.0 under apache.
This type of script not function:
<?php
mail("pippo@nospreadmymail.com", "PHP Mail test", "Line 1\nLine 2\nLine
3");
?>
but if i change in this
<?php
mail("pippo@nospreadmymail.com", "PHP Mail test", "Line 1\r\nLine
2\r\nLine 3");
?>
No problem append..
In php 4.0.6 no problem!
This problem is tested only on Windows Platform
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15755&edit=1