IsSMTP(); // set mailer to use SMTP $mail_cli= new PHPMailer(); $mail_cli->IsSMTP(); //$vars if($_POST['submit']!=""){ //$myEmail="jfernandez@jh-concept.com"; $myEmail="julz_heat@hotmail.com"; $tmtEmail="info@thaimassagetoronto.com"; $name =$_POST['first_name']." ".$_POST['last_name']; $cli_name=$_POST['client_first_name']." ".$_POST['client_last_name']; $email=$_POST['email']; $cli_email=$_POST['client_email']; $number=$_POST['number']; $cli_number=$_POST['client_number']; $comments=$_POST['comments_questions']; $practioner=$_POST['practioner']; $otherDuration=$_POST['other_duration']; $massageType=$_POST['massage']; $date_day=$_POST['date_day']; $date_month=$_POST['date_month']; $date_year=$_POST['date_year']; $hour=$_POST['hour']; $hour2=$_POST['hour2']; $date_all=$date_day."/".$date_month."/".$date_year." : ".$hour; $date_day2=$_POST['date_day2']; $date_month2=$_POST['date_month2']; $date_year2=$_POST['date_year2']; $date_all2=$date_day2."/".$date_month2."/".$date_year2." : ".$hour2; $mail->From = "info@thaimassagetoronto.com"; $mail->FromName = "TMT ~ Online Appointment"; $mail->AddAddress($tmtEmail); $mail->Subject = "Online Appointment has been made"; $mail->IsHTML(true); $body="
Name: $name Client Name: $cli_name
Email: $email Client Email: $cli_email
Number: $number Client Number: $cli_number
Requested Massage and Duration: $massage
First Requested Date & Time: $date_all
Second Requested Date & Time: $date_all2
Additonal Comments: $comments
"; $mail->Body=$body; //print $body; $isSent=$mail->Send(); $mail->ClearAddresses(); if(!$isSent) { $msg= 'Message was not sent.'; $msg.= 'Mailer error: ' . $mail->ErrorInfo; } else { $msg= 'Message has been sent correctly'; } $mail_cli->From = "info@thaimassagetoronto.com"; $mail_cli->FromName = "TMT ~ Online Appointment"; $mail_cli->AddAddress($email); $mail_cli->Subject = "Your appointment has been received"; $mail_cli->IsHTML(true); $body_cli=" Thank you for requesting your ppointment online. One of our staff will get in-touch with you within 48-hours to confirm your request. If you would like to book an appointment sooner, please give us a call 416-234-0011. "; $mail_cli->Body=$body_cli; $mail_cli->Send(); } ?>
"The old Thai way of healing with the hands"
 
  Visit the School Site
   

To book your appointment call
416.234.0011

Or email us @
info@thaimassagetoronto.com
(allow 24 hours for email replies)

Our Massage Centre is open seven days a week.

Appointments available:
• Monday to Friday: 10 A.M - 8 P.M
• Saturday & Sunday: 10 A.M -7 P.M

Office hours:
• Monday to Friday: 10 A.M - 6 P.M
• Saturday & Sunday: 10 A.M - 4 P.M

Walk in's welcomed during office hours.