require_once 'mailClasses/class.phpmailer.php'; $mail = new PHPMailer(); $mail->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: | 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 | ||
| "The old Thai way of healing with the hands" | |||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||
|
|
|||||||||||||
|
|
| Thai Massage Toronto 2008 | Website Designed and Created by JH Concept |