Ambassador adlı üyeden alıntı: mesajı görüntüle
Hocam sendform.php tarafın tamamen gönderir misin kontrol edelim.
<?php
header('Content-Type: text/html; charset=utf-8');
require 'PHPMailerAutoload.php';


$phpmailer = new PHPMailer;
$phpmailer->isSMTP();
$phpmailer->Host = 'siteadi'; // duzenlenecek
$phpmailer->SMTPAuth = true;
$phpmailer->Username = 'mail adresi'; // duzenlenecek
$phpmailer->Password = 'şifre'; // duzenlenecek
$phpmailer->SMTPSecure = 'tls'; // duzenlenecek
$phpmailer->Port = '587'; // duzenlenecek
$phpmailer->From = 'mailadresi'; // duzenlenecek
$phpmailer->FromName = 'İletişim Formu'; // duzenlenecek
$phpmailer->AddReplyTo($_POST['mail'], $_POST['isim_soyisim']);
$phpmailer->addAddress('mailadresi', 'İletişim Formu'); // duzenlenecek
$phpmailer->isHTML(true);
$phpmailer->Subject = $_POST['konu'];
$phpmailer->Body    = $_POST['mesaj']; 
$phpmailer->CharSet = 'UTF-8';
 
if(!$phpmailer->send()) {
   echo 'Mail gonderilemedi. Hata: ' . $phpmailer->ErrorInfo; 
   exit; 
} 
 
echo 'Mail gonderildi.';