Hi,
I send a newsletter using mail() with php. It has HTML content. These are my headers :
$headers.="MIME-Version: 1.0\r\n";
$headers.="Content-type: text/html; charset=iso-8859-1\r\n";
$headers.="From: newsletter@XXXXXX\r\n";
$headers.="Bcc: $bcc\r\n";
($bcc contains the email addresses where I want to send it to)
When I receive my newsletter in outlook, the autopreview (which shows part of the content underneath the subjects of the mails) displays the urls of the images which are at the top of my HTML e-mail, instead of the actual content.
The thing is, I have HTML mails in my mail box that also have images at the top, yet the autopreview for these is correct. So I checked the headers from one of them, and it has this :
Content-Type: multipart/related;
type="multipart/alternative";
boundary="----=_NextPart_000_0005_01C4D7C2.0DEF2460"
Maybe that's got something to do with this. But I do not know for sure, and I have no idea how this multipart thing works.
Can anyone help me? Thanks!
Sven