Apache2 için SMTP Ayarlamak

Ahmet Alp Balkan alpbalkan1 at yahoo.com
23 Haz 2006 Cum 22:40:26 EEST


Merhaba Pardus Kullanıcıları.
 Hemen soruma geçiyorum. Pardus üzerine kurmuş olduğum Apache2, PHP5 ve MySQL5 sorunsuz olarak uyumlu çalışıyor.
 
 Fakat PHP'deki mail fonksiyonlarını kullanamıyorum. SMTP server'ım kurulu mu değil mi bilmiyorum. 
 
 phpinfo() ile SMTP'nin localhost üzerinde 25 nolu portta çalıştığını gördüm. Ama    PHP Kodu:
             Fatal error: Call to undefined function mail()  
     
     
 
  hatası alıyorum. 
 
    PHP Kodu:
             <?php 
$to      = 'alpbalkan1 at yahoo.com'; 
$subject = 'deneme yay&#305;n&#305;'; 
$message = 'deneme yay&#305;n&#305;na ho&#351;geldiniz'; 
$headers = 'From: ahmet4 at gmail.com' . "\r\n" . 
   'Reply-To: ahmet4 at gmail.com' . "\r\n" . 
   'X-Mailer: PHP/' . phpversion(); 
 
mail($to, $subject, $message, $headers); 
?>     
     
 
 (ref : php.net)

Büyük ihtimalle php.ini de   yakla&#351;&#305;k 630. sat&#305;rdaki
; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =

k&#305;sm&#305;n&#305; de&#287;i&#351;tirmem gerekiyor fakat ne yazmam gerekti&#287;ini bulam&#305;yorum. 

Yard&#305;mlar&#305;n&#305;z&#305; bekliyorum.


Ahmet Alp BALKAN
 Web Designer and Web Programmer
 ASP,PHP, MySQL, XML, AJAX Developer
 www.ahmetalpbalkan.net
 alternative mail : ahmet4 at gmail.com

 		
---------------------------------
Ring'em or ping'em. Make  PC-to-phone calls as low as 1¢/min with Yahoo! Messenger with Voice.
-------------- sonraki bölüm --------------
Bir HTML eklentisi temizlendi...
URL: http://liste.uludag.org.tr/pardus-kullanicilari/attachments/20060623/7a0763e6/attachment.htm 


Pardus-kullanicilari mesaj listesiyle ilgili daha fazla bilgi