SMTP Error. Please Help

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

SMTP Error. Please Help

Postby Kymerik » 21. August 2007 23:08

Good Afternoon. I just installed XAMPP and am running Mercury. I did the test through the XAMPP control panel and it worked just fine but when i try to use the form : , I get the following error

Warning: mail() [function.mail]: SMTP server response: 553 We do not relay non-local mail, sorry. in C:\xampp\htdocs\form_contact.php on line 142

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\form_contact.php:142) in C:\xampp\htdocs\form_contact.php on line 185

can someone please help?
Posts: 3
Joined: 21. August 2007 23:00

Postby Josef vM » 27. August 2007 18:57

Hi, maybe someone else has had the 'non-local mail' problem but if you're getting a 'header already sent' error, it indicates that you've opened your html page before calling the mail() function. All PHP output needs to take place before the <HTML> tag on your page.
Josef vM
Posts: 2
Joined: 27. August 2007 14:17
Location: Minnesota US

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 38 guests