webkaplani adlı üyeden alıntı: mesajı görüntüle
    $email_content = file_get_contents('email_template.html');
    $email_content = str_replace('{{AdSoyad}}', $adsoyad, $email_content);
    $mail->Body    = $email_content;
if(isset($_POST['url']) && $_POST['url'] == ''){

    // put your email address here
    $youremail = 'r10@eratalay.net.tr';  

    // prepare message 
    $body = "You have got a new message from the quote form on your website :
    
    Name:  $_POST[name]
    Phone Number:  $_POST[number]
    Email:  $_POST[email]
    Subject:  $_POST[subject]";

    if( $_POST['email'] && !preg_match( "/[\r\n]/", $_POST['email']) ) {
      $headers = "From: $_POST[email]";
    } else {
      $headers = "From: $youremail";
    }

    mail($youremail, 'Message from Web', $body, $headers );

}

?>
hocam elimdeki kod bu ama göndermiyor mail