+1

Do this before messing about with headers

R

On 04/11/10 12:29, Harvey Kane wrote:
Another couple of things you will want to look at doing is whitelisting your web server in the SPF record of your domain name (try the wizard at openspf.org for this), and setting up reverse DNS for your server (ask whoever hosts your server about this one).

The ratio of text content to HTML + images is usually a significant factor, so try to include a few good paragraphs of text in every mailout.

Spam filters look favourably on HTML emails that come with a plain text version as well.

Hope that helps,

Harvey.



On 4/11/2010 12:20 p.m., Brendan Brink wrote:
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]



--
Phone (04) 381 4827 or 021 823 129
Skype rimu123
Web http://rimu.geek.nz/

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