success): //contact form submission code $to = 'martin@highrollerpainters.com'; $subject = 'High Roller Painters Contact Form'; $htmlContent = "
Name: ".$name."
Email: ".$email."
Message: ".$message."
"; // Always set content-type when sending HTML email $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n"; // More headers $headers .= 'From:'.$name.' <'.$email.'>' . "\r\n"; //send email @mail($to,$subject,$htmlContent,$headers); $succMsg = 'Your message was submitted successfully.'; $name = ''; $email = ''; $message = ''; else: $errMsg = 'Robot verification failed, please try again.'; endif; else: $errMsg = 'Please click on the reCAPTCHA box.'; endif; else: $errMsg = ''; $succMsg = ''; $name = ''; $email = ''; $message = ''; endif; ?>WE ARE HAPPY to talk you through any of your upcoming painting projects. If you are interested in our services for your residential painting projects in North Vancouver or area, drop us a note or call us today!