File: /home/cafsindia/allyindian_com/backend/customers/ticketmail.php
<?
//mail code;
//Send mail to customer
require 'phpmailer/class.phpmailer.php';
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->Host = "smtp.gmail.com"; // Your SMTP PArameter
$mail->Port = 587; // Your Outgoing Port
$mail->SMTPAuth = true; // This Must Be True
$mail->Username = "webadmin@sblt.co.in"; // Your Email Address
$mail->Password = "webadmin123"; // Your Password
$mail->SMTPSecure = 'tls'; // Check Your Server's Connections for TLS or SSL
$mail->From = 'tours@sblt.co.in';
$mail->FromName = 'tours@sblt.co.in';
$mail->AddAddress($toema);
$mail->IsHTML(true);
$mail->Subject="Ticket Details";
$mail->Body=$ticket_details;
$mail=$mail->Send();
//End Send mail to customer
?>