I think you understand what I mean with the names so -here's the code:
PHP Code:
<?php
// Create local PHP variables from the info the user gave in the Flash form -disabled message field
$toName = $_POST['toName'];
$toEmail = $_POST['toEmail'];
$fromEmail = $_POST['fromEmail'];
// Strip slashes on the Local variables -disabled message field
$toName = stripslashes($toName);
$toEmail = stripslashes($toEmail);
$fromEmail = stripslashes($fromEmail);
$to = $toEmail;
$from = $fromEmail;
$subject = "title";
//Begin HTML Email Message
$message = <<<EOF
<html>
<body bgcolor="#FFFFFF">
<b>Hi $toName,<br />
<b> check this out !! <br />
<b> <a href="http://website.com</a><br />
<b> <br />
</body>
</html>
EOF;
//end of message
$headers = "From: $from\r\n";
$headers .= "Content-type: text/html\r\n";
$headers .= "Bcc: myaddress@host.com";
$to = "$to";
mail($to, $subject, $message, $headers);
exit();
?>