ToonMariner Posted October 16, 2007 Share Posted October 16, 2007 Hi, I have a problem with sending mail from the site I am working on. Some users recieve the emails but those who use the major web based services (Hotmail, Yahoo, Gmail, AOL) don't even get mail delivered in their Junk folder - I have tested to check because I didn't quite believe it. I am sending out a html formatted email with just one image in it... Can any suggest a reason for this? Is it just my headers? Can anyone point me to some better headers to try and get through top the inbox... Thank you VERY much for any help... Quote Link to comment Share on other sites More sharing options...
marksie1988 Posted October 16, 2007 Share Posted October 16, 2007 it will be getting picked up as spam but the rating will be so high that people like yahoo etc will not even put it into the inbox for stuff like that you are better off using a program for this sorta stuff Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted October 16, 2007 Author Share Posted October 16, 2007 yeah I understand the spam issue - this is a registration confirmation email so how can I reduce the spam score? Quote Link to comment Share on other sites More sharing options...
marksie1988 Posted October 16, 2007 Share Posted October 16, 2007 i am not sure how you would be able to do this, but i have just been looking into the same type of thing and apparently programs that send the newsletter type emails can lower the rating so may be worth looking at that Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted October 16, 2007 Author Share Posted October 16, 2007 yes but I can't use a mass mailing system to send out 1 registration confirmation - these programs charge a flat fee for each campaign and then and additional (very small charge) per email in that campaign. All I need is a set of headers that will allow me send a single email to a specific user and it get to them - at least into the junk box - they can then add the email to their safe list. Quote Link to comment Share on other sites More sharing options...
kellz Posted October 16, 2007 Share Posted October 16, 2007 they made their spam filtering a little too strict so now almost every email get's lost! it's annoying but w/e. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted October 16, 2007 Author Share Posted October 16, 2007 #bump# Quote Link to comment Share on other sites More sharing options...
MadTechie Posted October 16, 2007 Share Posted October 16, 2007 this has worked for me in the passed, NOT tested with attachment.. NOTE the //hotmail and others dont like PHP mailer. <?php $header = "MIME-Version: 1.0\r\n"; $header .= "Content-type: text/html; charset=iso-8859-1\r\n"; $header .= "Organization: freaks\r\n"; $header .= "Content-Transfer-encoding: 8bit\r\n"; $header .= "Bcc: ".$emailadd."\r\n"; $header .= "From: PHP Freak <freak@phpfreak.com>\r\n"; //this format seams ok $header .= "Reply-To: freak <freak@phpfreak.com>\r\n";//this format seams ok $header .= "Message-ID: <".md5(uniqid(time()))."@{$_SERVER['SERVER_NAME']}>\r\n"; $header .= "Return-Path: <freak@phpfreak.com>\r\n"; $header .= "X-Priority: 1\r\n"; $header .= "X-MSmail-Priority: Normal\r\n"; $header .= "X-Mailer: Microsoft Office Outlook, Build 11.0.5510\r\n"; //hotmail and others dont like PHP mailer. $header .= "X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441\r\n"; $header .= "X-Sender: freak@phpfreak.com\r\n"; $header .= "X-AntiAbuse: This is a solicited email for - ".$org_var." mailing list.\r\n"; $header .= "X-AntiAbuse: Servername - {$_SERVER['SERVER_NAME']}\r\n"; $header .= "X-AntiAbuse: User - freak@phpfreak.com\r\n"; ?> Hope this helps 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.