Gomesh Posted November 13, 2009 Share Posted November 13, 2009 Hi Friends , I recently join this forum pls help me I want to know what configuration changes are required in Local machine to use mail (); function in Localhost to delivered on internet. 1) what is necessary to install and configure? 2) I have installed WAMP 5 in my localhost machine.what changes are need in configuration file.? Any more information to complete this task please welcome. Overall i want to use mail() in WAMP5 and it should be delivered. Thanks in advance Gomesh Agrawal Quote Link to comment https://forums.phpfreaks.com/topic/181378-solved-bhow-to-send-email-from-local-wamp-to-internet-b/ Share on other sites More sharing options...
Daniel0 Posted November 13, 2009 Share Posted November 13, 2009 You need to either a) Install a mail server on your computer. Search for one. There are plenty of free ones available. b) If you have access to an SMTP server you can modify the SMTP settings in php.ini. Quote Link to comment https://forums.phpfreaks.com/topic/181378-solved-bhow-to-send-email-from-local-wamp-to-internet-b/#findComment-956770 Share on other sites More sharing options...
JustLikeIcarus Posted November 13, 2009 Share Posted November 13, 2009 xampp http://www.apachefriends.org/en/xampp-windows.html (which i prefer over wamp) comes with mercury mail server. I've used it to send emails from a dev environment with no issues. Quote Link to comment https://forums.phpfreaks.com/topic/181378-solved-bhow-to-send-email-from-local-wamp-to-internet-b/#findComment-956865 Share on other sites More sharing options...
Gomesh Posted November 15, 2009 Author Share Posted November 15, 2009 thanks friend i can try this.. Quote Link to comment https://forums.phpfreaks.com/topic/181378-solved-bhow-to-send-email-from-local-wamp-to-internet-b/#findComment-957839 Share on other sites More sharing options...
Gomesh Posted November 17, 2009 Author Share Posted November 17, 2009 xamp server is not working on my system therefore is there any way to send email through wamp server because i can try all possibilities which u given in this post. Quote Link to comment https://forums.phpfreaks.com/topic/181378-solved-bhow-to-send-email-from-local-wamp-to-internet-b/#findComment-959396 Share on other sites More sharing options...
JustLikeIcarus Posted November 17, 2009 Share Posted November 17, 2009 Try sendmail.exe available at http://glob.com.au/sendmail/ Quote Link to comment https://forums.phpfreaks.com/topic/181378-solved-bhow-to-send-email-from-local-wamp-to-internet-b/#findComment-959401 Share on other sites More sharing options...
Gomesh Posted November 18, 2009 Author Share Posted November 18, 2009 Thanks friend my problem is resolved.. Quote Link to comment https://forums.phpfreaks.com/topic/181378-solved-bhow-to-send-email-from-local-wamp-to-internet-b/#findComment-959852 Share on other sites More sharing options...
Gomesh Posted November 18, 2009 Author Share Posted November 18, 2009 Ok that problem is solved now mail function work on xampp server . But when i sent mail through mail() function to our Gmail id , still i didn'nt get any mail . i dont know why because i do not get any error while sending through mail() function. Quote Link to comment https://forums.phpfreaks.com/topic/181378-solved-bhow-to-send-email-from-local-wamp-to-internet-b/#findComment-960142 Share on other sites More sharing options...
JustLikeIcarus Posted November 18, 2009 Share Posted November 18, 2009 Check your spam folder. If the domain in the emails from doesnt match the domain in the header it will flag it as spam. Usually all my test emails from my dev go to my gmails spam. Quote Link to comment https://forums.phpfreaks.com/topic/181378-solved-bhow-to-send-email-from-local-wamp-to-internet-b/#findComment-960146 Share on other sites More sharing options...
FaT3oYCG Posted November 18, 2009 Share Posted November 18, 2009 You need the authentication dll's that are on the sendmail page you were linked to, I know this as I had the same problem the other day just plonk them in the same folder as the sendmail.exe file and it should work flawlwssley, im on WAMP with the same application. Make sure that the prot number is 465 aswell and either use ssl or auto setting. Quote Link to comment https://forums.phpfreaks.com/topic/181378-solved-bhow-to-send-email-from-local-wamp-to-internet-b/#findComment-960191 Share on other sites More sharing options...
Gomesh Posted November 20, 2009 Author Share Posted November 20, 2009 ok Thanks finally it works , I get a mail on my gmail id. Quote Link to comment https://forums.phpfreaks.com/topic/181378-solved-bhow-to-send-email-from-local-wamp-to-internet-b/#findComment-961757 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.