XAMPP and mail()

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
User avatar
Sindarin
Forum Regular
Posts: 521
Joined: Tue Sep 25, 2007 8:36 am
Location: Greece

XAMPP and mail()

Post 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?
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: XAMPP and mail()

Post 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.
User avatar
Sindarin
Forum Regular
Posts: 521
Joined: Tue Sep 25, 2007 8:36 am
Location: Greece

Re: XAMPP and mail()

Post 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.
Post Reply