glenelkins Posted July 14, 2009 Share Posted July 14, 2009 Hi especially in Hotmail. I know i can use SMTP but its more coding lol! here are my headers: $headers = "MIME-Version: 1.0\n"; $headers .= "Content-type:text/html\n"; $headers .= "From: testperson@testdomain.com\n"; $paras = "-ftestperson@testdomain.com\n"; Quote Link to comment https://forums.phpfreaks.com/topic/165933-mail-function-going-into-spam/ Share on other sites More sharing options...
premiso Posted July 14, 2009 Share Posted July 14, 2009 You may never be able to solve the answer. From what I have found out is that most of those services, like Hotmail Yahoo etc filter any email where the domain it is being sent from does not have a mail record. I would check via a free online service to see if your domain IP shows as having a mail server. If it does not, you may want to contact your host for a way to remediate that. But also adding more thorough headers can solve the problem as well. I would take a look at some of the headers found at mail and maybe add more in there to help "prove" it is not spam. Me, I stopped using my server's mail service and instead use GMail hosted with 3-4 accounts that I use to send mail from as GMail allows for 500 emails a day per account on their Hosted side. I rarely send 500, but just incase of a huge mail day I have the backups to go to. Hope that helps. Quote Link to comment https://forums.phpfreaks.com/topic/165933-mail-function-going-into-spam/#findComment-875198 Share on other sites More sharing options...
glenelkins Posted July 14, 2009 Author Share Posted July 14, 2009 i actually run my own server running cPanel. Quote Link to comment https://forums.phpfreaks.com/topic/165933-mail-function-going-into-spam/#findComment-875204 Share on other sites More sharing options...
PFMaBiSmAd Posted July 14, 2009 Share Posted July 14, 2009 http://www.phpfreaks.com/forums/index.php/topic,259720.msg1222261.html#msg1222261 http://www.phpfreaks.com/forums/index.php/topic,260058.msg1224226.html#msg1224226 Quote Link to comment https://forums.phpfreaks.com/topic/165933-mail-function-going-into-spam/#findComment-875272 Share on other sites More sharing options...
phporcaffeine Posted July 14, 2009 Share Posted July 14, 2009 You may want to look at the actual MTA also. For instance, a default sendmail installation will stamp every outbound header with "Reply-to: machine_cname@machine_ipaddress" and most mail servers will not accept mail that has an invalid reply-to Quote Link to comment https://forums.phpfreaks.com/topic/165933-mail-function-going-into-spam/#findComment-875281 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.