<?php $to = 'moj@mail.com'; $subject = 'Mail testowy'; $body = 'Treść Testowa'; ?>
Wywala 'Błąd'
Oto kawałek a php.ini:
Kod
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
;sendmail_from =
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = NULL
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
;sendmail_from =
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = NULL
Jakby nie patrzeć jest to zgodne z tym co napiano w manualu... Wie może ktoś co jest grane?
Wypycham temat na górę bo wcześniej wpisałem "solved" ale jednak dalej nic z tego...
Zmieniłem z
sendmail_path = NULL
na
sendmail_path = /usr/sbin/sendmail
Ale dalej to samo, już nie wiem co robić :<