query($sql); $row = $result->fetch_assoc(); $mail = new PHPMailer(true); try { $mail->isSMTP(); $mail->Host = 'gemregistrationportal.org'; $mail->SMTPAuth = true; $mail->Username = 'no-reply@gemregistrationportal.org'; $mail->Password = 'freeDOM@611#'; $mail->SMTPSecure = 'tls'; $mail->Port = 587; $mail->setFrom("no-reply@gemregistrationportal.org", "GEM registration"); $mail->addAddress("".$row['email_id'].""); $mail->isHTML(true); $mail->Subject = "Payment Successful For ".$row['form_name'].""; $mail->Body = '
Your payment is successful!
Your order details are as follows :
APPLICANT NAME | : | '.$row['applicant_name'].' |
---|---|---|
EMAIL ID | : | '.strtoupper($row['email_id']).' |
MOBILE NUMBER | : | '.strtoupper($row['mobile_number']).' |
AMOUNT PAID | : | '.strtoupper($row['total_amount']).' |
PAYMENT ID | : | '.strtoupper($row["payment_id"]).' |
ORDER ID | : | '.strtoupper($row['order_id']).' |
PAYMENT STATUS | : | PAID |
Regards,
Team Processing,
For Order Status / Queries / Grievance Click Here