• 07-09-2009, 02:41:48
    #1
    Üyeliği durduruldu
    Arkadaşlar siteme iletişim formu koydum ama mail gelmiyor bana belki 10 tane forum değiştirdim ajaxından php sinden flasına kadar mail kısmınıda kendi mailime göre düzenledim ama mail hiç gelmiyor sizce neden ? Mailimde sorun yok diğer herkesten mail geliyor bana? Ama iletişim forumundan yolluyorum gelmiyor çok forum değiştirdim. Yardımcı olurmusunuz

    Şuda form kodları

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
    <title>Forum</title>
    
    </head>
    
    <body>
    
    <?php 
    
    function gonder($ad,$soyad,$mail,$konu,$mesaj)
    	{
    		$kimden = "www.ofissoft.com";
    		$baslik = "Yeni Bir Mesaj Gönderildi!";
    		$sablon = '<table width="400" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="30" colspan="3" align="center" bgcolor="#0099CC"><span style="font-family:Tahoma; font-size:12px; color:#FFF;">Yeni Bir Mesaj Gönderildi.</span></td>
      </tr>
      <tr>
        <td width="100" height="25" align="left" bgcolor="#F5F5F5"><span style="font-family:Tahoma; font-size:12px; color:#000;">Adi</span></td>
        <td width="5" align="center" bgcolor="#F5F5F5"><span style="font-family:Tahoma; font-size:12px; color:#000;">:</span></td>
        <td width="281" align="left" bgcolor="#F5F5F5"><span style="font-family:Tahoma; font-size:12px; color:#000;">'. $ad . '</span></td>
      </tr>
      <tr>
        <td height="25" align="left" bgcolor="#F3F3F3"><span style="font-family:Tahoma; font-size:12px; color:#000;">Soyadi</span></td>
        <td align="center" bgcolor="#F3F3F3"><span style="font-family:Tahoma; font-size:12px; color:#000;">:</span></td>
        <td align="left" bgcolor="#EEEEEE"><span style="font-family:Tahoma; font-size:12px; color:#000;">'. $soyad .'</span></td>
      </tr>
      <tr>
        <td height="25" align="left" bgcolor="#F5F5F5"><span style="font-family:Tahoma; font-size:12px; color:#000;">Mail Adresi</span></td>
        <td align="center" bgcolor="#F5F5F5"><span style="font-family:Tahoma; font-size:12px; color:#000;">:</span></td>
        <td align="left" bgcolor="#F5F5F5"><span style="font-family:Tahoma; font-size:12px; color:#000;">'. $mail .'</span></td>
      </tr>
      <tr>
        <td height="25" align="left" bgcolor="#EEEEEE"><span style="font-family:Tahoma; font-size:12px; color:#000;">Konu</span></td>
        <td align="center" bgcolor="#EEEEEE"><span style="font-family:Tahoma; font-size:12px; color:#000;">:</span></td>
        <td align="left" bgcolor="#EEEEEE"><span style="font-family:Tahoma; font-size:12px; color:#000;">'. $konu .'</span></td>
      </tr>
      <tr>
        <td height="25" align="left" bgcolor="#F5F5F5"><span style="font-family:Tahoma; font-size:12px; color:#000;">Mesaj</span></td>
        <td align="center" bgcolor="#F5F5F5"><span style="font-family:Tahoma; font-size:12px; color:#000;">:</span></td>
        <td align="left" bgcolor="#F5F5F5"><span style="font-family:Tahoma; font-size:12px; color:#000;">'. $mesaj .'</span></td>
      </tr>
    </table>';
    		
    		$header="From: $kimden\r\n"."Content-Type: text/html; Charset=iso-8859-9\r\n";
    		mail ("benimmail@xxxxxxxxxxxxxxxxxxxxxxxxxx.com",$baslik,$sablon,$header);
    		
    		if (mail) { echo '<table width="400" border="0" align="center" cellpadding="0" cellspacing="0" style="border:1px solid #666; padding:5px; margin-bottom:10px;"><tr><td align="center"><span style="font-family:Tahoma; font-size:12px; color:#006600;">Mesajiniz Bize Ulasmistir. Ilginiz Için Tesekkür Ederiz.</span></td>
    </tr></table>'; }
    		else { echo '<table width="400" border="0" align="center" cellpadding="0" cellspacing="0" style="border:1px solid #060; padding:5px; margin-bottom:10px;"><tr><td align="center"><span style="font-family:Tahoma; font-size:12px; color:#006600;">Mesajiniz Gönderilirken Bir Sorun Meydana Geldi.</span></td>
    </tr></table>'; }
    		
    	}
    
    	if (@$_GET['islem'] == "gonder") { gonder($_POST['ad'],$_POST['soyad'],$_POST['mail'],$_POST['konu'],$_POST['mesaj']); }
    
    ?>
    <form action="iletisim.php?islem=gonder" method="post" style="margin: 0px;">
    <table width="400" border="0" align="center" cellpadding="0" cellspacing="0" style="border:1px solid #666;">
      <tr>
        <td height="30" colspan="3" align="center" bgcolor="#0099CC" style="border-bottom:1px solid #666;"><span style="font-family:Tahoma; font-size:12px; color:#FFF;">Ofis Soft Iletisim Formu</span></td>
      </tr>
      <tr>
        <td width="103" height="30" align="left" bgcolor="#F5F5F5"><span style="font-family:Tahoma; font-size:12px; color:#000;">&nbsp;Adiniz</span></td>
        <td width="5" align="center" bgcolor="#F5F5F5"><span style="font-family:Tahoma; font-size:12px; color:#000;">:</span></td>
        <td width="292" align="center" bgcolor="#F5F5F5"><span style="font-family:Tahoma; font-size:12px; color:#000;">
        <input type="text" name="ad" style="width:280px; border:1px solid #666;" /></span></td>
      </tr>
      <tr>
        <td height="30" align="left" bgcolor="#F3F3F3"><span style="font-family:Tahoma; font-size:12px; color:#000;">&nbsp;Soyadiniz</span></td>
        <td align="center" bgcolor="#F3F3F3"><span style="font-family:Tahoma; font-size:12px; color:#000;">:</span></td>
        <td align="center" bgcolor="#EEEEEE"><span style="font-family:Tahoma; font-size:12px; color:#000;">
          <input type="text" name="soyad" style="width:280px; border:1px solid #666;" id="soyad" />
        </span></td>
      </tr>
      <tr>
        <td height="30" align="left" bgcolor="#F5F5F5"><span style="font-family:Tahoma; font-size:12px; color:#000;">&nbsp;Mail Adresiniz</span></td>
        <td align="center" bgcolor="#F5F5F5"><span style="font-family:Tahoma; font-size:12px; color:#000;">:</span></td>
        <td align="center" bgcolor="#F5F5F5"><span style="font-family:Tahoma; font-size:12px; color:#000;">
          <input type="text" name="mail" style="width:280px; border:1px solid #666;" id="mail" />
        </span></td>
      </tr>
      <tr>
        <td height="30" align="left" bgcolor="#EEEEEE"><span style="font-family:Tahoma; font-size:12px; color:#000;">&nbsp;Konu</span></td>
        <td align="center" bgcolor="#EEEEEE"><span style="font-family:Tahoma; font-size:12px; color:#000;">:</span></td>
        <td align="center" bgcolor="#EEEEEE"><span style="font-family:Tahoma; font-size:12px; color:#000;">
          <input type="text" name="konu" style="width:280px; border:1px solid #666;" id="konu" />
        </span></td>
      </tr>
      <tr>
        <td height="30" align="left" bgcolor="#F5F5F5"><span style="font-family:Tahoma; font-size:12px; color:#000;">&nbsp;Mesaj</span></td>
        <td align="center" bgcolor="#F5F5F5"><span style="font-family:Tahoma; font-size:12px; color:#000;">:</span></td>
        <td align="center" bgcolor="#F5F5F5"><span style="font-family:Tahoma; font-size:12px; color:#000;">
          <textarea name="mesaj" rows="5" style="width:280px; border:1px solid #666;"></textarea>
        </span></td>
      </tr>
      <tr>
        <td height="38" align="left" bgcolor="#F5F5F5">&nbsp;</td>
        <td align="center" bgcolor="#F5F5F5">&nbsp;</td>
        <td align="center" bgcolor="#F5F5F5"><input type="submit" value="Gönder" style="border:1px solid #666; background-color:#0099CC; color:#FFF; padding:2px;" /></td>
      </tr>
    </table>
    </form>
    
    </body>
    </html>
  • 07-09-2009, 03:32:05
    #2
    sunucunuz mail gönderimine izin vermiyor olabilir. ben kendi sunucumda denedim. tıkır tıkır çalışıyor sistem..
  • 07-09-2009, 03:34:58
    #3
    localhost ta deniyor olmayasınız?
  • 07-09-2009, 03:45:04
    #4
    valla bende localhost ta bile çalışıyor smtp server yüklü
  • 07-09-2009, 03:47:27
    #5
    tamam da arkadaş local de deniyodur büyük ihtimal ondan göndermiyodur.

    yoksa mail fonksiyonunu desteklemicek bir server olduğunu zannetmiyorum ben
  • 07-09-2009, 03:51:48
    #6
    var hatta ucuz yerlerin çoğunda öyle. neden dersen adam sadece toplu mail yollamak için host alıyor. en düşük alanlı paketi seçiyor. fiyatta çok az olunca adamın serverdan atılmak umrunda olmuyor ve basıyor spam mailleri server sahibide smtp olayını kökten kaldırarak bu işe çözüm buluyor yada server mail sağlayıcılarda spam listesine girmiş olabilir..
  • 07-09-2009, 04:09:38
    #7
    tabi bizim kafada çakallıklar olmadığı için böyle düşünmemiştim
  • 07-09-2009, 04:21:06
    #8
    bunu bana karşı söylemişsen bilki bende çakal diye tabir ettiklerinden değilim. bende server sahibiyim ve hosting sağlıyorum. fiyatları çok çok düşürdüğüm bir zamanda başıma gelmişti.
  • 07-09-2009, 04:25:06
    #9
    yok yok estağfurullah, ben önlem alınmasını gerektiren çakallardan bahsediyorum, kusura bakma yanlış anlaşıldı sanırım