hi there,

Trying to improve the ability of emails I create through HTMLmimemail to get
through spam filters and proving problems...

below is the headers I am setting /trying to set - seems like the messageID
is a big factor in spam, any advice on how I should change the settings?

The email itself is a combination of a couple images and some text and HTML
format.

much appreciated...

$mail= new htmlMimeMail();
    $mail->setReturnPath($themessage['email_from']);
    $mail->setFrom($themessage['email_from']);
    $mail->setHeader('Reply-To',$themessage['email_from']);
    $mail->setHeader('X-Mailer','Company Name');
    $mail->setSubject($themessage['subject']);
    $mail->setSMTPParams('localhost','25');
    $mail->setHeader("Date","".date("r")."");

$mail->setHeader("Message-ID","<".date("YmdHis")."@".$_SERVER['SERVER_NAME'].">");
    $mail->setHeader("MIME-Version","1.0");
    //$mail->setHeader("Content-type:","text/html;charset=ISO-8859-9");
    $mail->setHeader("X-Priority","1");
    $mail->setHeader("Importance","1");
        $mail->setHeader("X-MSMail-Priority","High");

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to