query($sql_select_gem); $row = $result_gem->fetch_assoc(); $cid = $_POST['cid']; $optSelected = urlencode($_POST['option-selected']); $formId = $_POST['payment_id']; $pageUrls = $_POST['pageUrl']; $pageUrl = $pageUrls.'?cid='.$cid; $current_url ='GEMREGISTRATIONPORTAL.ORG'; $ch = curl_init('https://crm2.techlounge.co.in/api/msme-upload-document-status.php?formId='.$formId.'&website='.$current_url.'&optSelected='.$optSelected.''); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec ($ch); curl_close($ch); $response; if($response == ",,,,,,"){ $ch = curl_init('https://crm11.techlounge.co.in/api/msme-upload-document-status.php?formId='.$formId.'&website='.$current_url.'&optSelected='.$optSelected.''); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec ($ch); curl_close($ch); $response; } $array=explode(',',$response); $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 = "UPLOAD DOCUMENTS"; $mail->Body = '
Dear Sir,
Greetings for the day!!
AS CHOOSEN BY YOU PLEASE FIND THE UPLOAD LINK BELOW. PLEASE UPLOAD YOUR DOCUMENTS AS SOON AS POSSIBLE. Thanks,
Team Processing
Alternatively, You can also send your documents to the following whatsapp number : +916204958230. Don"t forget to mention your Email Address & mobile number using which the order has been placed.