KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/abtechsci/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/abtechsci/sendemail.php
<?php
// testing



$fname = "Senthil";

// multiple recipients
$to  = $_POST["recipient"];  // note the comma

// subject
$subject = $_POST["subject"];

// message
$message = $_POST["content"];

// To send HTML mail, the Content-type header must be set
$headers  = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";

// Additional headers
//$headers .= 'To: Mary <[email protected]>, Kelly <[email protected]>' . "\r\n";
$headers .= 'From: Abtechsci.com <[email protected]>' . "\r\n";
//$headers .= 'Cc: [email protected]' . "\r\n";
//$headers .= 'Bcc: [email protected]' . "\r\n";


// Mail it
if($message != "")
  mail($to, $subject, $message, $headers);
else
  header("Location:http://www.abtechsci.com/home.html");

 
?>

<meta http-equiv="refresh" content="5; url=http://www.abtechsci.com/home.html"> 
<p> Thank you for contacting us.We will respond to you shortly </p>
<p> The page will be redirected to home page in 5 seconds </p>

Anon7 - 2021