Hello -
This script is throwing a parse error on the last line...the mail() line.
Any help appreciated. This is very tricky stuff.
Thanks
<?PHP
$headers .= "To:$receiver\" \n";
$headers .= "From:Graphix and Sound <me@you.com>\" \n";
$headers .= "Subject:You order has arrived!\" \n";
$headers .= "MIME-Version: 1.0\" \n" ;
$headers .= "Content-Type: multipart/related\";
type=\"multipart/alternative\";
boundary=\"----=_NextPart_000_0050_01C20DE0.47BD0300\" \n";
$headers .= "X-Priority: 3\" \n";
$headers .= "X-MSMail-Priority: Normal\" \n";
$headers .= "X-Mailer: General Kinetics\" \n";
$headers .= "This is a multi-part message in MIME format.\" \n";
$boundary="------=NextPart_000_0050_01C20DE0.47BD0300\" \n";
$headers .= "Content-Type: multipart/alternative\";
boundary=\"----=NextPart_001_0051_01C20DE0.47BD0300\" \n";
$boundary="------=_NextPart_001_0051_01C20DE0.47BD0300";
$headers .= "Content-Type: text/plain\";
charset=\"iso-8859-1\" \n";
$headers .= "Content-Transfer-Encoding: quoted-printable";
$message_n="$message";
$boundary="------=_NextPart_001_0051_01C20DE0.47BD0300";
$headers .= "Content-Type: text/html;
charset=\"iso-8859-1\" \n";
$headers .= "Content-Transfer-Encoding: quoted-printable";
$message_n="<HEAD>
</HEAD><BODY bgColor=3D#ffffff><BGSOUND SRC=\"cid:1101mysound1101z\">
<br>
<center><IMG SRC=\"cid:1101myimage1101z\"></center>
<br>
<font face=tahoma size=4 color=red>$message</font></BODY>";
$boundary="------=_NextPart_001_0051_01C20DE0.47BD0300--";
$boundary="------=_NextPart_000_0050_01C20DE0.47BD0300";
$headers .= "Content-Type: image/gif;
name=\"$pic.gif\" \n";
$headers .= "Content-Transfer-Encoding: base64\" \n";
$headers .= "Content-Disposition: inline filename=\"$pic.gif\" \n";
$headers .= "Content-ID:<1101myimage1101z>";
$boundary="------=_NextPart_000_0050_01C20DE0.47BD0300";
$headers .= "Content-Type: audio/wav;
name=\"$sound.wav\" \n";
$headers .= "Content-Transfer-Encoding: base64\" \n";
$headers .= "Content-Disposition: inline filename=\"$sound.wav\" \n";
$headers .= "Content-ID:<1101mysound1101z>";
$boundary="------=_NextPart_000_0050_01C20DE0.47BD0300--"
mail($receiver,$subject,$message_n,$headers);
?>