• 14-03-2009, 10:17:32
    #1
    Merhaba Arkadaşlar,

    Sunucuda tek domain bulunmakta ve SPF kaydı ise "v=spf1 ip4:88.255.xx.xx -all" şeklindedir.
    Mailler outlook ile hotmail'e sorunsuz olarak gitmektedir.Fakat php ile hangi header'i denediysem sorun vermektedir.

    Şu an için kullandığım header aşağıdaki gibidir.

    $headers = "MIME-Version: 1.0\n";
    $headers .= "Content-type: text/html; charset=iso-8859-9\n";
    $headers .= "X-Priority: 3\n";
    $headers .= "X-MSmail-Priority: Normal\n";
    $headers .= "X-mailer: php\n";
    $headers .= "From: \"MD5\" <mail@adresim.com>\n";
    $headers .= "Return-Path: postmaster@adresim.com\n";
    $headers .= "Return-Receipt-To: postmaster@adresim.com";
    Bu durumda kesin bir sonuca ulaşmam için ne yapmalıyım.

    - Teşekkürler.
  • 14-03-2009, 10:36:19
    #2
    Üyeliği durduruldu
    php nin imap kütüphanesi ile normal bir hesapla baglanarakta atabilirsiniz

    tüm komutu yazsanız kodda olası hata açısından bilgide verebilir ama
  • 14-03-2009, 12:24:27
    #3
    Kodda problem yok, mail gitmekte fakat imap ile ilgili herhangi bir örnek verebilir misiniz ? Sonuçta onda da header kullanmanız gerekicek =)
  • 14-03-2009, 12:25:31
    #4
    Üyeliği durduruldu
    PHP: imap_mail - Manual

    mail gönderdiginiz php kodunun tamamını yazarsaniz biraz daha açık olabilir bence
  • 14-03-2009, 12:41:03
    #5
    Buyrun Kod =)

    $kime = "gidecek@adres.com";
    $baslik = "Merhaba"
    $mesaj = "Selam naber vs.<br>İyidir";
    $headers = "MIME-Version: 1.0\n";
    $headers .= "Content-type: text/html; charset=iso-8859-9\n";
    $headers .= "X-Priority: 3\n";
    $headers .= "X-MSmail-Priority: Normal\n";
    $headers .= "X-mailer: php\n";
    $headers .= "From: \"MD5\" <mail@adresim.com>\n";
    $headers .= "Return-Path: postmaster@adresim.com\n";
    $headers .= "Return-Receipt-To: postmaster@adresim.com"; 
    
    mail($kime, $baslik, $mesaj, $headers);
  • 14-03-2009, 18:10:44
    #6
    Biraz daha açık olabilir misiniz? Ne hatası alıyorsunuz?
  • 14-03-2009, 18:25:17
    #7
    sanirim junk'a gidiyor
  • 14-03-2009, 18:39:09
    #8
    e olacak o kadar
  • 14-03-2009, 19:22:38
    #9
    normalde önemsizlere düşmüyorsa php ile de düşmemesi gerekir aslında :s