SMTP - 501 Failure Naked LF

Problems with the Windows version of XAMPP, questions, comments, and anything related.

SMTP - 501 Failure Naked LF

Postby Pangie » 03. October 2004 14:13

When I try to mail the results from a .php form I get the following error:

Warning: mail() [function.mail]: SMTP server response: 501 Failure Naked LF see http://netwinsite.com/surgemail/help/smtplf.htm in C:\apachefriends\xampp\htdocs\submit.php on line 40

I am not sure what this means, and the website it directed me to did not make any sense to me either.

I am very new to this, and do not doubt that I have something set up wrong. Any help would be appreciated. Thanks! :)
Pangie
 
Posts: 2
Joined: 03. October 2004 14:05
Location: Midwest - USA

Postby Wiedmann » 03. October 2004 14:45

You have seperated the mail headers inside the mail function with "\n" and not with "\r\n".
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Thanks!

Postby Pangie » 03. October 2004 16:10

Thank you so much! I feel kind of stupid now, but I'm glad it works. :)
Pangie
 
Posts: 2
Joined: 03. October 2004 14:05
Location: Midwest - USA


Return to XAMPP for Windows

Who is online

Users browsing this forum: Ananael and 36 guests