query($sql); $row = $result->fetch_assoc(); // Mailer $payment_link = 'https://udyogaadhaar.net/Payment.php?cmpnMail='.base64_encode($orderId); // Mailer $host_name ='udyogaadhaar.net'; $website_name = strtoupper($host_name); $mail = new PHPMailer(true); try { $mail->isSMTP(); // $mail->SMTPDebug = 2; $mail->CharSet = 'UTF-8'; $mail->Host = $host_name; $mail->SMTPAuth = true; $mail->Username = 'no-reply@udyogaadhaar.net'; $mail->Password = 'freeDOM@611#'; $mail->SMTPSecure = 'tls'; $mail->Port = 587; $mail->setFrom('no-reply@udyogaadhaar.net','UDYOGAADHAAR'); $mail->addAddress($_POST["email_id"]); $mail->isHTML(true); $mail->Subject = "Your ".$_POST['form_name']." Form"; $mail->Body = '
Dear '.$_POST['applicant_name'].',
Thank you for submitting your application for '.$_POST['form_name'].' on our website.
This mail is an acknowledgement of successful submission of your application, on our website. This mail does not confirm the payment status against the submitted application.
If you have already made payment, then please sit back and relax, your order will be processed and acknowledgement of the same will be sent on your registered email address.
If you have not yet made the payment, processing of your application will not be done unless you make the payment.
Click on the link below to make payment.
Regards,
Team Processing,