PDA

View Full Version : PHP.ini file help with mailserver


tux
10-23-2008, 06:25 PM
What do I have to change to get my localhost to send mail. Got this error when running my submit.php file from my local environment. Works fine when live on the server.

Heres the error.....

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in D:\MY FILE on line 54

Thanks all.

Paul

davidj
10-23-2008, 08:55 PM
you need an smtp server installed on your local machine

http://www.softstack.com/freesmtp.html

tux
10-23-2008, 09:36 PM
Can I use Outlook Express or is there a stand alone SMTP server you can recommend.

What do you use Dj.

Thanks

tux
10-23-2008, 09:37 PM
Sorry David, didnt notice the link, cheers mate.

davidj
10-23-2008, 09:39 PM
outlook is not an smtp server

its an email client

gavimobile
10-26-2008, 07:55 PM
i use hmailserver for my windows 2003 webserver..

free software, easy to use, has http configuration also, great support

2bz2p
11-09-2008, 10:54 PM
I love these forums have a question read for a moment and walla the answer

Thanks for the help yall :mrgreen:
2b