WCM Home Past Events | Contact WCM if ( $_REQUEST['beenhere'] == '2' ) { if ( $_REQUEST['sname'] != "" AND $_REQUEST['email'] != "" AND $_REQUEST['subject'] != "" AND $_REQUEST['comm'] != "" ) { $message = 'Message from WCM form Name: ' . $_REQUEST['sname'] . ' Email: ' . $_REQUEST['email'] . ' Subject: ' . $_REQUEST['subject'] . ' Message: ' . $_REQUEST['comm'] . ' '; //$message.=''; $to = "master@exoart.com"; $subject = "WCM - " . $_REQUEST['subject']; $from = strtolower($_REQUEST['email']); $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= "From: " . strtolower($_REQUEST['email']) . " \r\n"; //$headers .= 'Cc: keith@kewpro.com' . "\r\n"; //$headers .= 'Bcc: webmanager@kewpro.com' . "\r\n"; mail( $to, $subject, $message, $headers ) or print "We tried to send your confirmation email, but failed."; print 'Your message was sent. Thanks '; $sent = "true"; } else { print 'All fields are required and it looks like you missed one. '; } } if ( $sent == '' ) { ?> } $message = "Test"; $to = "master@exoart.com"; $subject = "WCM"; $from = "webmanager@kewpro.com"; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: webmanager@kewpro.com ' . "\r\n"; //$headers .= 'Cc: keith@kewpro.com' . "\r\n"; //$headers .= 'Bcc: webmanager@kewpro.com' . "\r\n"; mail( $to, $subject, $message, $headers ) or print "We tried to send your confirmation email, but failed."; ?> www.WestCoastMagnas.com © 2004-2015 kewpro.com |
|