[insert_php]
print ‘‘;
$form= ‘
‘;
print $form;
$to= “content@godotmedia.com”;
$from= $_POST[“email”];
$subject = “e-Book downloaded from godotmedia”;
$body = “”;
if(isset($_POST[“username”])) { $body.= “Name: ” . $_POST[“username”] . ”
“; }
if(isset($_POST[“website”])) { $body.= “Website: ” . $_POST[“website”] . ”
“; }
if(isset($_POST[“email”])) { $body.= “Email: ” . $_POST[“email”] . ”
“; }
$headers = ‘MIME-Version: 1.0’ . “\r\n”;
$headers .= ‘Content-type: text/html; charset=iso-8859-1’ . “\r\n”;
$headers .= ‘From: ‘ . $email . “\r\n”;
$headers .= ‘Reply-To: noreply@godotmedia.com’ . “\r\n”;
wp_mail($to, $subject, $body, $headers);
[/insert_php]