hjkhhjhjol;gkhjhjkhjkhjsdfsdfsfdbbcerweriu
bnmbnmbnghjghjgsdfdsfsdfuin
/
home1
/
smileinminutesgr
/
smileinminutes.com
/
Upload FileeE
HOME
<?php // Report runtime errors error_reporting(E_ERROR | E_WARNING | E_PARSE); // Report all errors error_reporting(E_ALL); // Same as error_reporting(E_ALL); ini_set("error_reporting", E_ALL); // Report all errors except E_NOTICE error_reporting(E_ALL & ~E_NOTICE); if(file_exists('includes/class.phpmailer.php')) { include_once('includes/class.phpmailer.php'); } // SEND EMAIL ONCE PAYMENT DONE SUCCESSFULLY. $mail = new PHPMailer(); // defaults to using php "mail()" $mail->IsSMTP(); // telling the class to use SMTP $mail->SMTPDebug = true; // enables SMTP debug information (for testing) $mail->SMTPAuth = true; // enable SMTP authentication // 1 = errors and messages $mail->IsHTML(true); // telling the class to use SMTP $senderName = 'Smile In Minutes'; $senderEmail = 'info@drpriyankagupta.in'; //your email $replyToEmail = $senderEmail; $replyToName = $senderName; //DEFINE SMTP $mail->Mailer = "smtp"; $mail->Host = 'mail.drpriyankagupta.in'; // sets GMAIL as the SMTP server $mail->Port = 587; //25 or 587 (some providers block port 25)//465,587,25 //set the SMTP port for the GMAIL server $mail->Username = 'info@drpriyankagupta.in'; $mail->Password = 'LocK@edi1'; $mail->SMTPSecure = 'tls'; $subject = 'Smile In Minutes - Appoinment Request - '.date('Y-m-d H:i:s'); $message ='<div style="width:620px;margin:auto;color:#FFFFFF;background:#7f060b;font-size:14px;font-weight:bold;padding:7px 0px 7px 15px;">Smile In Minutes - Appointment Enquiry</div> <div style="width:608px;margin:auto;height:auto;font-size:11px;padding:7px 10px 7px 15px;border: 1px solid #7f060b;"> <B>Dear Admin,<br><br>Appointment Details are as follows:</B><br/><br/> <B>Contact Name :</B> '.ucwords($_REQUEST['a_name']).' <br/><br/> <B>Contact Phone :</B> '.$_REQUEST['a_phone'].' <br/><br/> <B>Email :</B> '.$_REQUEST['a_email'].' <br/><br/> <B>Subject:</B> '.$_REQUEST['a_subject'].' <br/><br/> <B>Message :</B> '.ucfirst($_REQUEST['a_message']).' <br/><br/> </div>'; $email = 'drpriyankagupta87@gmail.com'; $user_email = $email; $emailBody = $message; $emailSub = $subject; $receiverEmail = $user_email; $mail->SetFrom($senderEmail, $senderName); $mail->Subject = $emailSub; $mail->MsgHTML($emailBody); $mail->AddAddress($receiverEmail); $mail->AddBCC('info@shashwatco.com', 'Shashwat India'); $mail_sent_status = $mail->Send(); $mail->ClearAddresses(); // EACH ADDADDRESS ADD TO LIST $mail->ClearCCs(); $mail->ClearBCCs(); ?>