whalewillie Posted October 26, 2010 Share Posted October 26, 2010 Hi, would like to know if there is any way to send email using localhost? is it possible and how can i do it? Quote Link to comment https://forums.phpfreaks.com/topic/216874-send-email-with-localhost/ Share on other sites More sharing options...
PFMaBiSmAd Posted October 26, 2010 Share Posted October 26, 2010 You need a public mail server to send an email to anyone other than yourself. A public mail server is a valid mail server that has a domain name associated with it and has all the necessary DNS records setup so that a receiving mail server can check and will accept emails from the sending mail server. What exactly are you trying to accomplish? Quote Link to comment https://forums.phpfreaks.com/topic/216874-send-email-with-localhost/#findComment-1126624 Share on other sites More sharing options...
rwwd Posted October 26, 2010 Share Posted October 26, 2010 I'm guessing that your wanting to test a mail script, if you have error_reporting() on, you should get a warning when you try to use the mail function with no smtp settings set up - this serves as a way of checking that the mail function, functions! Rw Quote Link to comment https://forums.phpfreaks.com/topic/216874-send-email-with-localhost/#findComment-1126628 Share on other sites More sharing options...
whalewillie Posted October 26, 2010 Author Share Posted October 26, 2010 You need a public mail server to send an email to anyone other than yourself. A public mail server is a valid mail server that has a domain name associated with it and has all the necessary DNS records setup so that a receiving mail server can check and will accept emails from the sending mail server. What exactly are you trying to accomplish? Thanks for the info, we want to find out if we can send through intranet instead of internet server,is it possible to send email through localhost(Xampp) intranet? Cheers! Quote Link to comment https://forums.phpfreaks.com/topic/216874-send-email-with-localhost/#findComment-1126663 Share on other sites More sharing options...
BlueSkyIS Posted October 26, 2010 Share Posted October 26, 2010 You need a public mail server to send an email to anyone other than yourself. A public mail server is a valid mail server that has a domain name associated with it and has all the necessary DNS records setup so that a receiving mail server can check and will accept emails from the sending mail server. Quote Link to comment https://forums.phpfreaks.com/topic/216874-send-email-with-localhost/#findComment-1126675 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.