setFrom(SITE_NAME." "); // Set the Return header $mail->setReturnPath("ereturn@".SITE_NAME_MAIL); // Set the Priority - normal, high $mail->setPriority("normal"); $Subject = ' Upgrade Now and find your soulmate '.$sub_date.''; //$Subject = ' Few days left - Ramadan upto 25% discount will end soon '; $html = ' Nikah.com - Newsletters

You are receiving this mail as a registered member of '.SITE_NAME.'
Please add eletters@'.SITE_NAME_MAIL.' to your address book to ensure delivery of e-mails, profile responses into your inbox

'.$sub_date.'

Assalaamualaikum

Dear '.$uName.' - ('.$ProfileId.')

Traditional sources may bring you very less choice / chance with more expenses, but with Nikah.com we bring you wide range of prospects at a click of a button and with minimum expenses .

☆ Become a Premium member now & Enjoy the Benefits ☆

Contacting people whom you shortlist becomes easier.

Send unlimited Email messages.

Chat online with suitable members.

Receive more & quick responses from all prospects.

Upgrade Now    ➤
'; /* * start on 20917 */ //$html.=$banmsg; /* * end on 20917 */ $html.='

May the almighty Allah shower his blessings on you to find a suitable life partner through Nikah.com, In Sha Allah.

'; $html.='
'; //echo $html;exit; // Set the Subject $mail->setSubject($Subject); // Create the HTML email $mail->setHTML($html, ""); // Create Message Text/plain $Message = ""; $mail->setText($Message); //$toAdd = "varusai24@gmail.com"; $toAdd = $uDet["pro_email"]; //$toAdd = "coolboys521@gmail.com"; //exit; return $result = $mail->send(array($toAdd)); } // get user details who has been invited by others function getUserProfileDetail($ProfileId) { global $inputs,$dbase; $sql = "select dpro_name,pro_email,pro_resid,pro_nation,pro_type from profile p join det_profile d on p.pro_profileid = d.dpro_profileid where p.pro_profileid = '$ProfileId'"; $exeQuery = $dbase->db_sql_query($sql); $proDetArray = array(); if (count($exeQuery) > 0) { if (is_array($exeQuery[0])) { $proDetArray = $exeQuery; } else { $proDetArray[0] = $exeQuery; } } return $proDetArray; } // get my photo status function getMyPhotoStaDet($ProfileId) { global $inputs,$dbase; $sql = "select count(ph_profileid) cnt from photo_status where ph_profileid = '$ProfileId'"; $exeQuery = $dbase->db_sql_query($sql); return $exeQuery['cnt']; } ?>