Studio 539 Flowers Workshop Inquiry

\n"; $email_message .= "

Hi,

\n"; $email_message .= "

Thank you for contacting The Flower College at Studio 539 Flowers. Please see attached schedule for our upcoming classes. In the meantime, if you have any questions please contact me at classes@studio539flowers.com or call the store 401-454-4400 to register.

\n"; $email_message .= "

I look forward to speaking with you soon,

\n"; $email_message .= "

Danielle

\n"; $email_message .= "

\n"; $email_message .= "Name: " . validateVariable($_POST['name'], "regular", "128") . "
\n"; $email_message .= "Email Address: " . validateVariable($_POST['email_address'], "email", "128") . "
\n"; $email_message .= "Phone: " . validateVariable($_POST['phone'], "phone", "24") . "
\n"; $email_message .= "Class and Date: " . validateVariable($_POST['class_name_date'], "regular", "255") . "
\n"; $visitor_email = validateVariable($_POST['email_address'], "email", "128"); $mail = new PHPMailer(true); try { // Optional Debug // $mail->SMTPDebug = SMTP::DEBUG_SERVER; // Recipients $mail->setFrom('classes@studio539flowers.com', 'Studio 539 Flowers'); $mail->addAddress($visitor_email); // $mail->addAddress('craig@intrepidws.com'); // $mail->addCC('cc@example.com'); $mail->addBCC('classes@studio539flowers.com`'); // Attachments $mail->addAttachment($_SERVER['DOCUMENT_ROOT'] . "/assets/downloads/Studio-539-Floral-Design-Workshops.pdf"); // $mail->addAttachment('/tmp/image.jpg', 'new.jpg'); // Content $mail->isHTML(true); $mail->Subject = 'Studio 539 Flowers Workshop Inquiry'; $mail->Body = $email_message; // $mail->AltBody = 'This is the body in plain text for non-HTML mail clients'; $mail->send(); $show_form = 0; } catch (Exception $e) { echo "Message could not be sent.

"; echo "Mailer Error: " . $mail->ErrorInfo; exit; } } ?> Studio 539 Flowers - A Wedding Florist Servicing Newport, Providence, Bristol as well as Rhode Island, Massachusetts and Connecticut

Workshop Inquiry


" />

" />

" />

Instagram Facebook