if(!empty($_POST['visitormail'])){
$vemail = $_POST['visitormail'];
$name = $_POST['visitor'];
$phone = $_POST['visitorphone'];
$contacttime = $_POST['contacttime'];
$contactmethod = $_POST['contactmethod'];
$notes = $_POST['notes'];
$headers = "MIME-Version: 1.0\n" .
"From: ".$name." <".$vemail.">\r\n\n” .
“Content-Type: text/html; \n”;
$message = ‘Name: ‘ . $name . ‘
E-mail Address: ‘.$vemail.’
Phone Number: ‘.$phone.’
Please contact me during the ‘. $contacttime.’
I prefer you reach me by ‘.$contactmethod.’
Message: ‘.$notes.’
‘;
// wp_mail($no_recur_user->user_email, ‘Membership Expire Notification’, $message, $headers);
//wp_mail(‘howard@compliance-insights.com’, ‘Email From Visitor’, $msg , $headers);
wp_mail(‘contact@phpmail.compliance-insights.com’, ‘Email From Visitor’, $message , $headers);
wp_mail(‘suhyun@dzineit.net’, ‘Email From Visitor’, $message , $headers);
?>
}
?>





