|
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/memanuel/investidata/ |
Upload File : |
<?
//session_start();
// Mails section start from here
//----------------------------------------
$to1="[email protected]";
$to="[email protected]";
$from=$_REQUEST['email'];
$mesagetxt=$_REQUEST['mesagetxt'];
$subject=$_REQUEST['subject'];
$message='<html>
<head>
<title>Contacting with Invesdata.com.</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.msg {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 13px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
color: #003366;
text-decoration: none;
}
.normalblack {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
color: #333333;
text-decoration: none;
}
a:link {
font-family: Tahoma, Arial, "Microsoft Sans Serif";
font-size: 11px;
font-weight: normal;
color: #006699}
}
A:hover {
COLOR: red; font-weight: bold;
}
.text {
font-family: tahoma;
font-size: 11px;
color: #999999;
text-decoration: none;
line-height: 16px;
padding-top: 1px;
padding-bottom: 1px;
}
a.text:hover {
font-family: tahoma;
font-size: 11px;
color: #000000;
text-decoration: none;
}
-->
</style>
</head>
<body>
<table width="80%" border="0" align="center" cellpadding="2" cellspacing="2">
<tr>
<td colspan="3" class="text"><strong>A person wants to contact Invesdata.com.</strong></td>
</tr>
<tr>
<td width="18%" align="left" class="text">Mail Id:</td>
<td width="2%" align="center" class="text"><strong>:</strong></td>
<td width="80%" class="text">'.$_REQUEST['email'].'</td>
</tr>
<tr>
<td width="18%" align="left" class="text">Subject:</td>
<td width="2%" align="center" class="text"><strong>:</strong></td>
<td width="80%" class="text">'.$_REQUEST['subject'].'</td>
</tr>
<tr>
<td width="18%" align="left" class="text">Message:</td>
<td width="2%" align="center" class="text"><strong>:</strong></td>
<td width="80%" class="text">'.$_REQUEST['mesagetxt'].'</td>
</tr>
</table>
</body>
</html>';
//exit();
$headers="MIME-Version: 1.0\r\n";
$headers .="From: $from\r\n";
$headers .="Content-type: text/html; charset=iso-8859-1\r\n";
mail($to,$subject,$message,$headers);
mail($to1,$subject,$message,$headers);
//$err="The information has sent successfully to the Nichols Administrator.";
header("location:thankyou.html");
?>