\x89PNG\r\n\x1a\n\x00\x00\x00\x0DIHDR\x00\x00\x00\x01\x00 \x00\x00\x01\x08\x06\x00\x00\x00\x1F\x15\xC4\x89\x00\x00\x00 \x0AIDATx\x9Ccb\x00\x00\x00\x06\x00\x03\x1A\x05\x9D\x00\x00 \x00\x00IEND\xAE\x42\x60\x82
| Path : /var/www/html/cihaninsaat.com/CihanWebSite/httpdocs/php/ |
|
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
| Current File : /var/www/html/cihaninsaat.com/CihanWebSite/httpdocs/php/mail.php |
<?
require("class.phpmailer.php");
//form validation vars
$formok = true;
$errors = array();
//sumbission data
$ipaddress = $_SERVER['REMOTE_ADDR'];
$date = date('d/m/Y');
$time = date('H:i:s');
//form data
$name = $_POST['name'];
$email = $_POST['mail'];
$subject = $_POST['subject'];
$message = $_POST['message'];
$mail = new PHPMailer();
$mail->IsSMTP(); // send via SMTP
$mail->Host = "webmail.cihaninsaat.com"; // SMTP server for Gmail
$mail->SMTPAuth = true;
$mail->SMTPSecure = 'tls';
$mail->Username = "oguz.pala@cihaninsaat.com"; // Your Mailer Gmail Address
$mail->Password = "3969"; // Password
$mail->Port = 587;
$mail->From = "oguz.pala@cihaninsaat.com "; // Your Mailer Gmail Address (Same With Username)
$mail->AddAddress("info@cihaninsaat.com"); // Your Adress
$mail->Subject = "cihaninsaat.com'dan Mail Geldi";
$mail->IsHTML(true);
$mail->CharSet = 'UTF-8';
$mail->Body = "<p>Biri cihaninsaat.com web sitesinden iletişim formunu doldurarak mail bıraktı. Bilgileri ve mesajı aşağıdadır.</p>
<p><strong>İsim: </strong> {$name} </p>
<p><strong>Email Adresi: </strong> {$email} </p>
<p><strong>Konu: </strong> {$subject} </p>
<p><strong>Mesaj: </strong> {$message} </p>
<p>Gönderenin IP Adresi: {$ipaddress} Tarih: {$date} Saat: {$time}</p>";
if(!$mail->Send())
{
echo "Mail Not Sent <p>";
echo "Mailer Error: " . $mail->ErrorInfo;
exit;
}
echo "Mail Sent";
?>