thanks a lot kinadian....
One thing though... I just need to know exactly what to do...
The flash file is sending 6 vars to this PHP file.... (using POST)... and there are 2 other vars that are set in the PHP file: the email's content, and the email's headers.....
so following your suggestion, this is what I've done:
$email1 = $_POST['email1'];
$name = $_POST['name'];
$from = $_POST['from'];
$product = $_POST['product'];
$urllink = $_POST['urllink'];
$photoUrl = $_POST['photoUrl'];
$msg = $_GET['msg'];
$headers = $_GET['headers'];
$msg = "MAIL CONTENT... includes $email1, $name, $from, $product, $urllink and $photoUrl";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: multipart/alternative; boundary=\"=_DM_MIME_BOUNDARY_1\"\r\n";
$headers .= "From: $from \r\n";
$headers .= "Reply-To: $from>\r\n";
mail("$email1", "SUBJECT", $msg, $headers);
Have I written this correctly? should this work?