Page 1 of 1

XAMPP and mail()

Posted: Thu Sep 04, 2008 9:55 am
by Sindarin
I have a contact form and I want to see if it works from XAMPP but the Mercury mail client won't let me send it to my account telling it doesn't allow non-local email to be delivered. How can I send a local email then?

Re: XAMPP and mail()

Posted: Thu Sep 04, 2008 10:17 am
by onion2k
I think that means your email provider doesn't accept email from non-business internet connects, eg a home ADSL broadband connection. They block email from that sort of connection because people who's PC's get viruses tend to send masses of spam. In which case you'll not be able to test the form offline. Upload it to some webspace to test it.

That's just a guess though, you haven't given us much information to work with.

Re: XAMPP and mail()

Posted: Fri Sep 05, 2008 3:08 am
by Sindarin
you haven't given us much information to work with.
Warning: mail() [function.mail]: SMTP server response: 553 We do not relay non-local mail, sorry. in C:\xampp\htdocs\sites\msi\send.php on line 179
The problem with testing online is that sent e-mails take a while to arrive which is annoying and time-consuming.