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 Link to comment https://forums.phpfreaks.com/topic/97226-mail-sending/ 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? Link to comment https://forums.phpfreaks.com/topic/97226-mail-sending/#findComment-497532 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. Link to comment https://forums.phpfreaks.com/topic/97226-mail-sending/#findComment-497552 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.