|  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
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: shovey at frontiernet dot net
New email:
PHP Version: OS:


 [2003-07-15 04:29 UTC] shovey at frontiernet dot net
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 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,

Reproduce code:

mail ("", "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 in e:\program files\apache group\apache\htdocs\mail.php on line 3


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-15 04:37 UTC]
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 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-2023 The PHP Group
All rights reserved.
Last updated: Thu Mar 30 23:03:38 2023 UTC