EchoFool Posted February 26, 2008 Share Posted February 26, 2008 I am trying to get a email script working on my registry page, but it will not work... I keep getting an error when i send i make it send.... : 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() Not sure how other people have managed to get it to work on localhost so was hoping some one here might know how? Quote Link to comment Share on other sites More sharing options...
DarkerAngel Posted February 26, 2008 Share Posted February 26, 2008 You need to have a SMTP running on your system. Quote Link to comment Share on other sites More sharing options...
Bauer418 Posted February 26, 2008 Share Posted February 26, 2008 In order to send SMTP messages from your local computer, you will need an SMTP server installed and running. Alternatively, if you're using Linux, you can configure sendmail to send emails. Otherwise, you'll want to look into a class such as PHPMailer to connect to a remote SMTP server (assuming authentication is enabled. If your remote server doesn't need SMTP-authentication, you can just specify the server address in php.ini) Quote Link to comment Share on other sites More sharing options...
EchoFool Posted February 26, 2008 Author Share Posted February 26, 2008 Where can i find a SMTP for free to generally test it out on my pc? I don't want to be loading files to any where except from my hard drive... so am hoping they have a local host one and not one that is on a real online server ? Quote Link to comment Share on other sites More sharing options...
Bauer418 Posted February 26, 2008 Share Posted February 26, 2008 http://www.google.com/search?hl=en&q=free+windows+smtp+server&btnG=Google+Search First result looks promising...but I didn't click on it, so you're on your own. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.