Sindbad~EG File Manager

Current Path : /home/beghelic/www/old-yedek/mail/
Upload File :
Current File : /home/beghelic/www/old-yedek/mail/mailgonder.php

<?php
if ( $_POST ){

		$adsoyad= $_POST['adsoyad'];
		$telefon = $_POST['telefon'];
		$eposta = $_POST['eposta'];
		$konu = $_POST['konu'];
		$mesaj = $_POST['mesaj'];

		include 'class.phpmailer.php';
		$mail = new PHPMailer();
		$mail->IsSMTP();
		$mail->SMTPAuth = true;
		$mail->SMTPSecure = 'ssl';
		$mail->Host = 'smtp.gmail.com';
		$mail->Port = 465;
		$mail->Username = 'helico.mail.send@gmail.com';
		$mail->Password = 'Helico1122mail';
		$mail->SetFrom($mail->Username, 'helico.mail.send@gmail.com');
		$mail->AddAddress("info@helico.com.tr", "Helico");
		$mail->CharSet = 'UTF-8';
		$mail->Subject = $konu;
		$content = '
			Ad soyad '.$adsoyad.'<br>
			Telefon '.$telefon.'<br>
			E-Posta '.$eposta.'<br>
			Konu '.$konu.'<br>
			Mesaj '.$mesaj.'<br>
		';
		$mail->MsgHTML($content);
		if($mail->Send()) {
			
		} else {
			// bir sorun var, sorunu ekrana bastıralım
			echo '<div class="error">'.$mail->ErrorInfo.'</div>';
		}

}

?>


<script type="text/javascript">

	window.location = "../basarili"

</script>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists