I'm trying to use the PHP mail() function to send multipart/alternative emails - ie emails with plain text and html versions.
I'm sure I have em formatted correctly; this is how it looks on the server before retrieval:
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0059_01BEA6E2.1A467F40"
----=_NextPart_000_0059_01BEA6E2.1A467F40
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Sup?
----=_NextPart_000_0059_01BEA6E2.1A467F40
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<title>and the HTML reads ..</title>
</head>
<body bgcolor="#0000FF" text="#FFFFFF" link="#00FF00">
<h1><b>HELLO!!</b></h1>
</body>
</html>
----=_NextPart_000_0059_01BEA6E2.1A467F40
BUT, when I retrieve it with my client (Calypso) it just shows the header - no body
Anyone have any ideas? This worked fine when I sent it with Perl - does php mess with the newlines or sumpin?
Cheers