-
Pınartepe Mah. Yavuz Sultan Selim Bulvarı No:4 34500 Büyükçekmece / İstanbul - Turkey
-
+90 212 872 11 59
-
Velimeşe Beldesi 59880 Çorlu / Tekirdağ - Turkey
-
İshakçelebi Kasabası Saruhanlı / Manisa - Turkey
$ad="";
$soyad="";
$telefon="";
$faks="";
$mail="";
$konu="";
$mesaj="";
$check=1;
if(isset($_POST["hareket"])) {
$haraket=$_GET["haraket"];
$ad=$_POST["ad"];
$soyad=$_POST["soyad"];
$telefon=$_POST["telefon"];
$faks=$_POST["faks"];
$mail=$_POST["mail"];
$konu=$_POST["konu"];
$mesaj=$_POST["mesaj"];
if (($ad=='') || ($mail=='') || ($mesaj=='')) { ?>
";
if(!$mail->Send()){ ?>
There are empty fields, please fill the fields marked with (*)
$check=0; } elseif (preg_match("/^([a-zA-Z0-9])+([a-zA-Z0-9\._-])*@([a-zA-Z0-9_-])+([a-zA-Z0-9\._-]+)+$/",$mail) && $check==1){ require("class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsSMTP(); // SMTP kullan $mail->Host = "mail.yelteneke.com.tr"; // SMTP adresi $mail->SMTPAuth = true; // smtp baglantisini yap $mail->Username = "smtp@yelteneke.com.tr"; // SMTP k.adi $mail->Password = "Yel2016*@"; // SMTP sifre $mail->SetLanguage("tr", "language/"); $mail->CharSet = "UTF-8"; $mail->From = "smtp@yelteneke.com.tr"; //gönderen $mail->FromName = "Yel Teneke web sitesi"; //gönderen ismi $mail->AddAddress("info@yelteneke.com.tr", "Yel Teneke"); $mail->WordWrap = 50; $mail->IsHTML(true); $mail->Subject = "İletişim Formu - English"; $mail->Body = "| Name | : " .$_POST['ad']. " |
| Surname | : " .$_POST['soyad']. " |
| Telephone | : " .$_POST['telefon']. " |
| Fax | : " .$_POST['faks']. " |
| : " .$_POST['mail']. " | |
| Subject | : " .$_POST['konu']. " |
| Message | : " .$_POST['mesaj']. " |
Your message was sent successfully, thanks for your interest
echo "Mailer Error: " . $mail->ErrorInfo; exit; } ?>Your message was sent successfully, thanks for your interest
} else { ?>There is typo in your e-mail address, please check your e-mail address and try again
$check=0; } } if(!isset($_POST["hareket"]) || $check==0) {?> } ?>


