php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24660 Warning: mail(): SMTP server response: 451
Submitted: 2003-07-15 04:29 UTC Modified: 2003-07-15 04:37 UTC
From: shovey at frontiernet dot net Assigned:
Status: Not a bug Package: Mail related
PHP Version: 4CVS-2003-07-15 (stable) OS: Windows XP Home
Private report: No CVE-ID: None
 [2003-07-15 04:29 UTC] shovey at frontiernet dot net
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 ("shovey@frontiernet.net", "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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-15 04:37 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Check this with the Nuke people, it's not our problem.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 02:01:30 2024 UTC