srinivas6203 Posted March 21, 2008 Share Posted March 21, 2008 Hi i am doing sample website using php and mysql i want to send mail from localhost But mail didn't go from localhost After uploading to website that was going. I am using phpmailer until now Can u give anu suggestions or scripts. Thanq Quote Link to comment Share on other sites More sharing options...
veridicus Posted March 21, 2008 Share Posted March 21, 2008 I don't think we have enough information to solve the problem, but I first suggest making sure you set both the From and Sender values in phpmailer. Then take a look at your mail logs and see how the mail is being handled. Are the addresses in the log correct? Quote Link to comment Share on other sites More sharing options...
rhodesa Posted March 21, 2008 Share Posted March 21, 2008 If you are using a hosting service, you may want to make sure you are using a From header that is from the same domain as the site. A lot of hosting companies have started blocking outgoing mail that is from an 'unauthorized' From address to prevent people from using their servers to send spam/phishing emails. 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.