Yoga at its Best | Abhyasa Yogshala

Abhyasa Membership Form

Personal Details

IsSMTP(); // set mailer to use SMTP $mail->Host = 'tls://smtp.gmail.com';// specify main and backup server $mail->SMTPAuth = true; // turn on SMTP authentication $mail->Username = "abhyasayog5037@gmail.com"; // SMTP username $mail->Password = "Akgu@14021989"; // SMTP password $mail->Port = 25; $mail->SMTPSecure = 'tls'; $mail->From = "abhyasayog5037@gmail.com"; $mail->FromName = "Abhyasa Yogshala Membership"; $mail->AddAddress("abhyasayog5037@gmail.com", "Abhyasa Yogshala"); $mail->AddCC("abhishekdcool1@gmail.com", "Abhyasa Yogshala"); $first_name= $_POST['first_name']; $Years= $_POST['Years']; $mobile= $_POST['mobile']; $email= $_POST['email']; $weight= $_POST['weight']; $married= $_POST['married']; $coffe= $_POST['coffe']; $smoking= $_POST['smoking']; $alcohol= $_POST['alcohol']; $tabacco= $_POST['tabacco']; $veg= $_POST['veg']; $nonveg= $_POST['nonveg']; $message= $_POST['message']; $email_sub = "Query from website"; if (isset($_POST['first_name'])) { // $box_msg = $_POST['message']; $box_msg=' Welcome to CodexWorld

Abhyasa Yogshala!

First-Name: ' .$first_name.'
Years: ' .$Years.' Years
phone: ' .$mobile.'
email: ' .$email.'
weight: '.$weight.' Kg
Married: '.$married.'
Habits: '.$coffe.' ,'.$smoking.' ,'.$alcohol.' ,'.$tabacco.' ,'.$veg.' ,'.$nonveg.'
Message: '.$message.'
'; } $mail->WordWrap = 50000; // set word wrap to 50 characters $mail->IsHTML(true); // set email format to HTML $mail->Subject = "Abhyasa Yogshala Membership"; $mail->Body = $box_msg; if(!$mail->Send()) { echo "Message could not be sent. "; echo "Mailer Error: " . $mail->ErrorInfo; exit; } else { echo " } //echo "Message has been sent"; } ?>
Years
Kg