Name: '.$_REQUEST['fname'].' Email: '.$_REQUEST['email'].' Telephone: '.$_REQUEST['telephone'].' Department: '.$deprtment .' Comment: '.nl2br($comment) .' '; $subject="Contact Information Form"; $header ="MIME-Version: 1.0\r\n"; $header .="Content-type: text/html \r\n"; $header .= "From: ".$_REQUEST['email']." \r\n"; // echo $body; if(empty($toEmail)) { $to = "rshah@eastwood.com"; } else { $to =$toEmail; } //echo $body.$to; //exit; @mail($to,$subject,$body,$header); $msg= "Form has been submitted Sucessfully"; } ?>