getMatchphotos($fromId, $toId, 'vp', '', $uGender); $mName = $uDet2["dpro_name"]; $mMarital = $uDet2["pro_marital"]; $mMaritalStaus = $categorylist->CategoryRecords($mMarital); $mMotherLang = $uDet2["dpro_language"]; $mEMotherLang = explode(',', $mMotherLang); $mDMotherLang = $categorylist->CategoryRecords($mEMotherLang[0]); $mDMotherLang .= " Speaking"; $getResCityVal=$countrydet->sercity($uDet2['pro_resid'],$uDet2['pro_ncity']); $getResStateVal=$countrydet->serstate($uDet2['pro_nstate'],$uDet2['pro_resid']); $mRCountry = $uDet2["pro_resid"]; $mRCountryStatus = $countrydet->sercountry($mRCountry); //Instantiate a new HTML Mime Mail object $mail = new htmlMimeMail5(); // Set the From header $mail->setFrom($msiteName." "); // Set the Return header $mail->setReturnPath("ereturn@".$msiteName); // Set the Priority - normal, high $mail->setPriority("normal"); $Subject = " Avoid including contact details or hints - warning 2 "; $uLoginPath = 'https://'.$msiteName.'/login?task=autologin&uniqid='.$uniqid.'&pid='.$fromId.'&accreg='.$pageFrom.'&redirect=6'; $mTextCdnt=nl2br($msgmessage); $uHomePath = 'https://'.$msiteName.'/login?task=autologin&uniqid='.$uniqid.'&pid='.$fromId.'&accreg='.$pageFrom.'&redirect=6'; $uSearchPath = 'https://'.$msiteName.'/login?task=autologin&uniqid='.$uniqid.'&pid='.$fromId.'&accreg='.$pageFrom.'&redirect=3'; $uCommPath = 'https://'.$msiteName.'/login?task=autologin&uniqid='.$uniqid.'&pid='.$fromId.'&accreg='.$pageFrom.'&redirect=4'; $uUpgradePath = 'https://'.$msiteName.'/login?task=autologin&uniqid='.$uniqid.'&pid='.$fromId.'&accreg='.$pageFrom.'&redirect=5'; $html .= ' Message not sent

You are receiving this mail as a registered member of Nikah.com

Please add ealerts@'.$msiteName.' to your address book to ensure delivery of e-mails, profile responses into your inbox.

logo
'.$sub_date.'

Home | Search Partner | Communication

Assalam Alaikum

Dear '.$uName.'

   Hope this message finds you in good health and Imaan.

   We have noticed that you were including contact details / hints to contact in your messages to '.$tName.' ('.$toId.').

'.$tName.' ('.$toId.')
'.$mAgeD.',
'.$mMaritalStaus.',
'.$mDMotherLang.',
'.$getResCityVal.', '.$getResStateVal.', '.$mRCountryStatus.'

'.$mTextCdnt.'

   You are a free member. The feature of exchanging messages with other free members are allowed with a good intention, before paying any membership fee, to help you in finding initial compatibility with suitable members, by exchanging details such as likes / dislikes / family / religious interest / job etc. Your messages should not contain any contact details or contact hints. Once you feel compatible with other member, then you may upgrade your profile to Paid Membership to exchange contact details.

   This is a second warning to not to include any contact details or contact hints in your messages to other free members. Further attempts will lead to suspension of free messaging facility with other members.

   We pray that may the Almighty Allah shower His blessings on you to find a suitable life partner soon through Nikah.com.

   Jazakallah Khair for using Nikah.com

Regards,

Nikah.com

You are receiving this mail as a registered member of Nikah.com

Please add ealerts@'.$msiteName.' to your address book to ensure delivery of e-mails, profile responses into your inbox.

'; //echo $html;exit; //exit; // Set the Subject $mail->setSubject($Subject); // Create the HTML email $mail->setHTML($html, ""); // Create Message Text/plain $Message = ""; $mail->setText($Message); $toAdd = $uDet["pro_email"]; //$toAdd = "varusai24@gmail.com"; //exit; return $result = $mail->send(array($toAdd)); } // get user details who has been invited by others function getUserProfileDetail($fromId) { global $inputs,$dbase; $sql = "select dpro_name,pro_gender,pro_type,pro_email,TIMESTAMPDIFF(YEAR, pro_dob, CURDATE()) pro_age, pro_marital,pro_caste,pro_resid,pro_ncity,dpro_language,pro_dob,pro_nstate from profile p join det_profile d on p.pro_profileid = d.dpro_profileid where p.pro_profileid = '$fromId'"; $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 age calculation function fnNotAgeCalculation($dob) { $dobDay = new DateTime($dob); $curDay = new DateTime(); $ddiffInv = $dobDay->diff($curDay); $pro_age = $ddiffInv->y; return $pro_age; } ?>