shadiadiph Posted December 15, 2008 Share Posted December 15, 2008 I am using a sendmail script why do 90% of my messages go to SPAM? Is there anyway of stop this happening? Quote Link to comment Share on other sites More sharing options...
tomfmason Posted December 15, 2008 Share Posted December 15, 2008 You need an spf record in your dns. I use something like this for one of my domains using gmail: domain.tld. IN TXT "v=spf1 include:aspmx.googlemail.com ~all" Quote Link to comment Share on other sites More sharing options...
shadiadiph Posted December 16, 2008 Author Share Posted December 16, 2008 i understand that but do i have to add anything to my send mail headers?? $to = "<$clemail>, <info@asiapacificadvisors.com>"; $MsgHeader = "Subject: $subject <$subject>\r\n"; $MsgHeader = "From: Asia Pacific Advisors <$ademail>\r\n"; $MsgHeader .= "MIME-Version: 1.0\r\n"; $MsgHeader .= "Content-type: text/html; charset=iso-8859-1"; $MsgBody = " 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.