Page 1 of 1

PHP Mail function not working with XAMMP?

Posted: Sat Jun 17, 2006 2:43 pm
by kaisellgren
Hi,

I've tried EasyPHP and normal PHP configuration and mail function worked well, but now I have XAMMP and my mail function is not working anymore.

I've installed the full package of XAMMP succesfully.

Error I got after trying to send: We do not relay non-local mail, sorry.

Have someone any ideas? I've tried to put my From: -header to the following without luck:
me@localhost
me@example.com
localhost
*MYIP*

Has someone idea on what is non-local mail? So I can not mail to anywhere else than my own cpu??

Posted: Sat Jun 17, 2006 3:30 pm
by m0u53m4t
I think its anything not with the same domain. So if its hosted at http://www.freemail.com then you can only send mail to *@freemail.com addresses.

Posted: Sat Jun 17, 2006 3:41 pm
by kaisellgren
m0u53m4t wrote:I think its anything not with the same domain. So if its hosted at http://www.freemail.com then you can only send mail to *@freemail.com addresses.
?
I don't get it at all. Hosted at http://www.xxxxxxxx? I'm keeping a server and sending mail from my cpu to my hotmail mail and I got error.

Hmmmm