if ( $_POST['name'] != '' && $_POST['companyname'] != '' && $_POST['email'] != '' && $_POST['phonenumber'] != '' ) { $to = "sales@newwaveacrylics.com"; $from = "noreply@newwaveacrylics.com"; $subject = "New Wave Acrylics: Contact Form"; $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1" . "\r\n"; $headers .= "From: $from" . "\r\n"; $headers .= "Bcc: jeremy@engnetglobal.com" . "\r\n"; $message = "
New Wave Acrylics
Name: " . $_POST['name'] . "
Company Name: " . $_POST['companyname'] . "
Email: " . $_POST['email'] . "
Nature of Request: " . $_POST['natureofrequest'] . "
Phone Number: " . $_POST['phonenumber'] . "
Comments: " . $_POST['comments'] . "
|