IsSMTP(); // send via SMTP $mail->Host = "webmail.brenquil.info"; // SMTP server for Gmail $mail->SMTPAuth = true; $mail->SMTPSecure = 'tls'; $mail->Username = "[email protected]"; // Your Mailer Gmail Address $mail->Password = "3969"; // Password $mail->Port = 587; $mail->From = "[email protected] "; // Your Mailer Gmail Address (Same With Username) $mail->AddAddress("[email protected]"); // Your Adress $mail->Subject = "brenquil.info'dan Mail Geldi"; $mail->IsHTML(true); $mail->CharSet = 'UTF-8'; $mail->Body = "Biri brenquil.info web sitesinden iletişim formunu doldurarak mail bıraktı. Bilgileri ve mesajı aşağıdadır.
İsim: {$name}
Email Adresi: {$email}
Konu: {$subject}
Mesaj: {$message}
Gönderenin IP Adresi: {$ipaddress} Tarih: {$date} Saat: {$time}
"; if(!$mail->Send()) { echo "Mail Not Sent"; echo "Mailer Error: " . $mail->ErrorInfo; exit; } echo "Mail Sent"; ?>