query($sql); $row = $result->fetch_assoc(); $clientId = $row['id']; /* Select Cid Table */ // $sql_cid = "SELECT * FROM cid WHERE form_name = '".$row['form_name']."' AND uid = '".$row['id']."'"; // $result_cid = $conn->query($sql_cid); // $row_cid = $result_cid->fetch_assoc(); // $cId = $row_cid['cid']; $payment_link = 'https://pmny.in/vrb0P6D2UoEk'; echo "Payment Failed"; // $mail = new PHPMailer(true); // try { // $mail->isSMTP(); // $mail->Host = 'msmeregistrar.org'; // $mail->SMTPAuth = true; // $mail->Username = 'no-reply@msmeregistrar.org'; // $mail->Password = 'freeDOM@611#'; // $mail->SMTPSecure = 'tls'; // $mail->Port = 587; // $mail->setFrom("no-reply@msmeregistrar.org", "MSME registrar"); // $mail->addAddress("".$_POST['email'].""); // $mail->isHTML(true); // $mail->Subject = "Payment Failed For ".$row['form_name'].""; // $mail->Body = ' //
//
//
// MSME / UDYAM REGISTRATION //
//
//
//
// Dear '.$_POST['firstname'].', //

This mail is in reference to the Print Udyam Application submitted by you on '.date('d-m-Y h:i:sa').'.

//

Processing of your Print Udyam Application Is on hold, due to NON PAYMENT of fees.

//

We request you to complete the payment at the earliest to enable us to process your application. Click on the link below to make payment //

// //
//
//

Regards,
// Team Processing, //

//
//
//
//
//
// '; // $mail->send(); // $mail->ClearAllRecipients(); // $mail->addAddress("no-reply@msmeregistrar.org"); // $mail->isHTML(true); // $mail->Subject = "Payment Failed For MSME/UDYAM REGISTRATION"; // $mail->Body = " // Payment Failed // "; // $mail->send(); // // header ('location: ../success.php'); // } // catch (Exception $e) { // echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}"; // } } ?>