Nieuw lid |
|
Hallo,
Heeft er iemand een idee wat ik fout doe met onderstaande code.
In outlook komt deze email goed aan maar met thunderbirth krijg ik een blanco email
<?PHP
$email = '' . $row['email'] . '';
$headers = "MIME-Version: 1.0\r\n";
$headers .= "From: webmaster@domein.com\r\n";
$headers .= "Content-type: multipart/mixed; boundary=\"_aaaaaaaaaa0\"\r\n";
$headers .= "Content-ID: <26412.789994054.0@domein.com>";
$headers .= "--'._aaaaaaaaaa0.'\r\n";
$headers .= "Content-type: text/html; Content-ID: <26412.789994054.0@domein.com>";
$bericht = "<body bgcolor='#000000'>";
$bericht = "<table width='600' cellspacing='0' cellpadding='0' align='center' border='0' bordercolor='#999999'>
<tr>";
$bericht = $bericht . "<td width='50' align='center' bgcolor='#CCCCCC'>
</td><td width='500' align='center' bgcolor='#FFFFCC'>";
$headers .= "--'._aaaaaaaaaa0.'\r\n";
$headers .= "Content-type: image/gif; Content-ID: <26412.789994054.0@eo-network.com>: Content-Description: mime test image/gif: Content-Transfer-Encoding: base64";
$bericht = $bericht . "<img src='http://www.domein.com/images/topmail.gif'>\r\n";
$headers .= "--'._aaaaaaaaaa0.'\r\n";
$headers .= "Content-type: text/html; Content-ID: <26412.789994054.0@domein.com>";
$bericht = $bericht . "<br><br>$inhoud.<br><br><br>";
$bericht = $bericht . "</td>
<td width='50' align='center' bgcolor='#CCCCCC'> </td>
</tr><tr><td colspan='3' bgcolor='#CCCCCC'> </td></tr>
</tr></table>";
mail($email, $onderwerpinhoud, $bericht, $headers);
?>
<?PHP $email = '' . $row['email'] . ''; $headers = "MIME-Version: 1.0\r\n"; $headers .= "From: webmaster@domein.com\r\n"; $headers .= "Content-type: multipart/mixed; boundary=\"_aaaaaaaaaa0\"\r\n"; $headers .= "Content-ID: <26412.789994054.0@domein.com>"; $headers .= "--'._aaaaaaaaaa0.'\r\n"; $headers .= "Content-type: text/html; Content-ID: <26412.789994054.0@domein.com>"; $bericht = "<body bgcolor='#000000'>"; $bericht = "<table width='600' cellspacing='0' cellpadding='0' align='center' border='0' bordercolor='#999999'> <tr>"; $bericht = $bericht . "<td width='50' align='center' bgcolor='#CCCCCC'> </td><td width='500' align='center' bgcolor='#FFFFCC'>"; $headers .= "--'._aaaaaaaaaa0.'\r\n"; $headers .= "Content-type: image/gif; Content-ID: <26412.789994054.0@eo-network.com>: Content-Description: mime test image/gif: Content-Transfer-Encoding: base64"; $bericht = $bericht . "<img src='http://www.domein.com/images/topmail.gif'>\r\n"; $headers .= "--'._aaaaaaaaaa0.'\r\n"; $headers .= "Content-type: text/html; Content-ID: <26412.789994054.0@domein.com>"; $bericht = $bericht . "<br><br>$inhoud.<br><br><br>"; $bericht = $bericht . "</td> <td width='50' align='center' bgcolor='#CCCCCC'> </td> </tr><tr><td colspan='3' bgcolor='#CCCCCC'> </td></tr> </tr></table>"; mail($email, $onderwerpinhoud, $bericht, $headers); ?>
Citaat: Rens edit:
Codetags!!!
|