success): //contact form submission code $name = !empty($_POST['name'])?$_POST['name']:''; $email = !empty($_POST['email'])?$_POST['email']:''; $phone = !empty($_POST['phone'])?$_POST['phone']:''; $message = !empty($_POST['message'])?$_POST['message']:''; $to = 'maggiollyart@gmail.com'; $subject = 'Register For Art Classes at Maggiolly'; $htmlContent = "

Maggiolly Site Registration Form

Name: ".$name."

Email: ".$email."

Phone: ".$phone."

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 registration request has been submitted successfully. We will get back to you shortly.'; else: $errMsg = 'Robot verification failed, please try again.'; endif; else: $errMsg = 'Please click on the reCAPTCHA box.'; endif; else: $errMsg = ''; $succMsg = ''; endif; ?>
Maggiolly Art Supplies in Orangeville

ART SUPPLIES - WORKSHOPS - ART SERVICES

158 Broadway, Orangeville, Ontario 519-942-9560 Contact us.


CONTACT MAGGIOLLY'S

Call: (519) 942-9560
Fax: (519) 942-1560

LINKS