One Hat Cyber Team
Your IP :
216.73.216.240
Server IP :
162.240.106.28
Server :
Linux server.ganesand.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64
Server Software :
Apache
PHP Version :
7.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
thoa
/
www
/
PHPMailer-master
/
Edit File:
mail.php
<?php require 'PHPMailer-master/PHPMailerAutoload.php'; $mail = new PHPMailer; /* $mail->SMTPDebug = 2; */ // Enable verbose debug output $mail->isSMTP(); // Set mailer to use SMTP $mail->Host = 'mail.shahajservice.com'; // Specify main and backup SMTP servers $mail->SMTPAuth = true; // Enable SMTP authentication $mail->Username = 'postmaster@shahajservice.com'; // SMTP username $mail->Password = 'w3solutions12@'; /* $mail->SMTPSecure = "ssl"; */ // SMTP password //$mail->SMTPSecure = 'tls'; // Enable TLS encryption, `ssl` also accepted $mail->Port = 587; // TCP port to connect to $mail->From = 'postmaster@shahajservice.com'; $mail->FromName = 'SHA HAJ SERVICE'; $mail->addAddress('ganesh@anusuyaw3.com'); $mail->isHTML(true); $mail->Subject = 'Here is the subject'; $mail->Body = 'This is the HTML message body <b>in bold!</b>'; $mail->AltBody = 'This is the body in plain text for non-HTML mail clients'; $mail->send(); /* $mail->setFrom('postmaster@shahajservice.com', 'Mailer'); $mail->addAddress('ganesh@anusuyaw3.com', 'Joe User'); */ // Add a recipient /* $mail->addAddress('ellen@example.com'); */ // Name is optional /* $mail->addReplyTo('info@example.com', 'Information'); $mail->addCC('cc@example.com'); $mail->addBCC('bcc@example.com'); */ //$mail->addAttachment('/var/tmp/file.tar.gz'); // Add attachments //$mail->addAttachment('/tmp/image.jpg', 'new.jpg'); // Optional name //$mail->isHTML(true); // Set email format to HTML if(!$mail->send()) { echo 'Message could not be sent.'; echo 'Mailer Error: ' . $mail->ErrorInfo; } else { echo 'Message has been sent'; }
Simpan