From:             shovey at frontiernet dot net
Operating system: Windows XP Home
PHP version:      4CVS-2003-07-15 (stable)
PHP Bug Type:     Mail related
Bug description:  Warning: mail(): SMTP server response: 451 

Description:
------------
I am getting the same exact problem.
I am running a Nuke 6.5 powered site and any time the php performs the
mail function I get the same exact error about LF.

I used that sample code for mail.php both ways........in original format
and then modified it for \r\n and it worked perfectly after replacing
the \n  with \r\n.

I know that you have told people several times to use \r\n but the entire
PHP nuke 6.5 code is written with only \n whenever the mail function is
used.

How can I easily fix this issue without editing the source for all of my
nuke web site just so sendmail works?

By the way, I am running a web site on my local computer and have no
domain registered. I am on a dynamic IP. So if you e-mail me on the day
you want to check out my error, I will reply back with the current ip
address to connect to.

Thank you in advance,
Steve


Reproduce code:
---------------
<?php

mail ("[EMAIL PROTECTED]", "My subject", "Line 1\nLine 2\nLine 3");

?>

Expected result:
----------------
I expect The e-mail to be sent to the address on the mail line in the
above code.

Actual result:
--------------
Warning: mail(): SMTP server response: 451 See
http://pobox.com/~djb/docs/smtplf.html. in e:\program files\apache
group\apache\htdocs\mail.php on line 3


-- 
Edit bug report at http://bugs.php.net/?id=24660&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=24660&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=24660&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=24660&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24660&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24660&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24660&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24660&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24660&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24660&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24660&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24660&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24660&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24660&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24660&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24660&r=gnused

Reply via email to