View Full Version : PHP Mail function not working with XAMMP?

06-17-2006, 07:32 PM

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:

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

06-17-2006, 10:28 PM
Sounds like you're trying to connect to an SMTP server that doesn't permit your host to relay mail. What's the SMTP setting in php.ini?

06-18-2006, 08:03 PM
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
sendmail_from = me@example.com

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum