\r\n"; // next include a replyto $headers .= "Reply-To: " . $_POST["from"] . "\r\n"; // often email servers won't allow emails to be sent to // domains other than their own. The return path here will // often lift that restriction so, for instance, you could send // email to a hotmail account. (hosting provider settings may vary) // technically bounced email is supposed to go to the return-path email $headers .= "Return-path: " . $_POST["from"]; // now we can add the content of the message to a body variable $message = $_POST["note"] . "\n\n"; $message .= "Video URL: " . $url; // once the variables have been defined, they can be included // in the mail function call which will send you an email mail($to, $subject, $message, $headers); ?>