asparsh Posted November 21, 2009 Share Posted November 21, 2009 Hi I am facing problem of mail functionality. When i tested mail functionality in my localhost it works fine but when i tried it on server it didn't work and also no error it displays. So please give me solution if any changes required to setting mail functionality on server from local. Thanks in advance Anish Panchal Link to comment https://forums.phpfreaks.com/topic/182375-mail-functionality-from-localhost-to-server/ Share on other sites More sharing options...
Cardale Posted November 21, 2009 Share Posted November 21, 2009 Post code Link to comment https://forums.phpfreaks.com/topic/182375-mail-functionality-from-localhost-to-server/#findComment-962403 Share on other sites More sharing options...
cags Posted November 21, 2009 Share Posted November 21, 2009 The code is probably somewhat irrelevant in this case since it worked on localhost. I would suspect that your host doesn't have an SMTP server correctly setup. Check the values of SMTP and smtp_port in your php.ini file (if you don't know how you can use phpinfo). Link to comment https://forums.phpfreaks.com/topic/182375-mail-functionality-from-localhost-to-server/#findComment-962539 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.