rodangib Posted May 6, 2008 Share Posted May 6, 2008 Dear all, the following error message pops up as I run my mail() function: 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() B4 y'all reply, let me tell you that Im running the WAMP2.0 (Apache, PHP, MySQL) on Windows Vista Home Premium. I tried allowing the Firewall to open port 25 and I disabled the anti-virus and tried again and didn't work. What is your suggestion?? do I have to change something in the php.ini file?? What is that ini_set() ??? Please try a plain english approach as Im new in the programming world. Many Thanks Quote Link to comment Share on other sites More sharing options...
Perad Posted May 6, 2008 Share Posted May 6, 2008 You need an e-mail server. This is not included with WAMP. Check out this. http://www.postcastserver.com/ It is beyond me why you would want to send e-mails from your computer. This is what web servers are for. Quote Link to comment Share on other sites More sharing options...
Fearpig Posted May 6, 2008 Share Posted May 6, 2008 If you know a friendly domain you might be able to route to their SMTP server for outgiong mail. (I'm assuming you are developing and testing a site on your laptop?) Quote Link to comment Share on other sites More sharing options...
rodangib Posted May 6, 2008 Author Share Posted May 6, 2008 Hi Guys Thanks for the ideas..... I figured as much... just wanted to see if I could do it from my pc... I guess I'll have to test these features live from a proper server.... Cheers 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.