Jump to content

Hotmail, Gmail etc...


ToonMariner

Recommended Posts

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...

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.