This person would like to have the magazine delivered:
Name: ” . $clientName . “
Title: ” . $Title . “
Company:
” . $Company . “
” . $Address . “
” . $City . “, ” . $state . ” ” . $Zip . “
” . $Country . “
” . $Phone . “
# Employees: ” . $Employees . “
“;
add_filter(‘wp_mail_content_type’,create_function(”, ‘return “text/html”; ‘));
if(wp_mail(‘jp@abomagazine.com’, ‘AB Magazine Subscription Request’, $meEmail)){
echo ““;
}
else{
echo “Mail failed”;
}
} else {
//Contact form not complete
$myform = “
If you would like to receive a print subscription to American Business Magazine, please complete the form below:
“;
echo $myform;
}
?>