Cytat
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in ...php\pear\Mail\mail.php on line 112
tutaj akurat uzywam pear do wysylania ale jak sam probuje wyslac mail to mam to samo.
Wnioskuje ze problem tkwi w konfiguracji samego php.
Ten serwer dziala na win XP i apache 2.x , fragment pliku konfiguracyjnego:
Cytat
[mail function]
; For Win32 only.
SMTP = poczta.o2.pl
; For Win32 only.
sendmail_from = ja@tu.z.pl
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path = poczta.o2.pl
; For Win32 only.
SMTP = poczta.o2.pl
; For Win32 only.
sendmail_from = ja@tu.z.pl
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path = poczta.o2.pl
mi sie wydaje ze jest tu ok, myle sie?