Bdawg8569 Posted September 25, 2007 Share Posted September 25, 2007 I have been trying for the last few hours to send a confirmation email for a site i'm building, but PHP won't send any emails using mail(). I have tried just hardcoding all the values, so the problem has to be with server settings, but I'm not experienced with them at all. A friend of mine set up the server and installed almost everything. Can somebody suggest something for me to try? The server is really just another box connected to my router so that I can develop applications for my classes on it. Port 25 is being forwarded from the router, and the php.ini file has "localhost" as the SMTP value, and 25 as the smtp_port value. Any help would be greatly appreciated as this is very frustrating indeed. Brian Quote Link to comment https://forums.phpfreaks.com/topic/70570-cant-use-mail-on-my-server/ Share on other sites More sharing options...
trq Posted September 25, 2007 Share Posted September 25, 2007 and the php.ini file has "localhost" as the SMTP value Have you got an smtp server installed and configured then? Quote Link to comment https://forums.phpfreaks.com/topic/70570-cant-use-mail-on-my-server/#findComment-354606 Share on other sites More sharing options...
Bdawg8569 Posted September 25, 2007 Author Share Posted September 25, 2007 Yes, there is a SMTP server installed, but i'm not sure if its configured correctly. That very well could be the reason. A friend of mine installed it. Quote Link to comment https://forums.phpfreaks.com/topic/70570-cant-use-mail-on-my-server/#findComment-354609 Share on other sites More sharing options...
Bdawg8569 Posted September 25, 2007 Author Share Posted September 25, 2007 I am not sure how to change the settings or what settings might need to be changed. Any suggestions? Quote Link to comment https://forums.phpfreaks.com/topic/70570-cant-use-mail-on-my-server/#findComment-354611 Share on other sites More sharing options...
trq Posted September 25, 2007 Share Posted September 25, 2007 Any suggestions? What OS are you using? This thread needs to be moved to the relevent board. Quote Link to comment https://forums.phpfreaks.com/topic/70570-cant-use-mail-on-my-server/#findComment-354615 Share on other sites More sharing options...
Bdawg8569 Posted September 25, 2007 Author Share Posted September 25, 2007 Windows 2003 Quote Link to comment https://forums.phpfreaks.com/topic/70570-cant-use-mail-on-my-server/#findComment-354616 Share on other sites More sharing options...
Bdawg8569 Posted September 25, 2007 Author Share Posted September 25, 2007 Under IIS it says "Default SMTP Virtual Server" Quote Link to comment https://forums.phpfreaks.com/topic/70570-cant-use-mail-on-my-server/#findComment-354622 Share on other sites More sharing options...
shaileshpatil Posted October 11, 2007 Share Posted October 11, 2007 try sending mails through pear. its very simple through pear. i have done it. Quote Link to comment https://forums.phpfreaks.com/topic/70570-cant-use-mail-on-my-server/#findComment-366841 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.