whirlwind
TDD infected, paranoid
Функция mail не работает
Имеется:
FreeBSD 5.3-RELEASE
PHP Version 5.0.5
phpinfo
sendmail_from no value
sendmail_path /usr/sbin/sendmail -t -i
SMTP localhost
smtp_port 25
> netstat -na | grep 25
tcp4 0 0 127.0.0.1.25 *.* LISTEN
> whereis sendmail
sendmail: /usr/sbin/sendmail ...
Функция mail всегда возвращает false. При этом
и в $php_errormsg пусто.
Где тут собака зарылась?
Имеется:
FreeBSD 5.3-RELEASE
PHP Version 5.0.5
phpinfo
sendmail_from no value
sendmail_path /usr/sbin/sendmail -t -i
SMTP localhost
smtp_port 25
> netstat -na | grep 25
tcp4 0 0 127.0.0.1.25 *.* LISTEN
> whereis sendmail
sendmail: /usr/sbin/sendmail ...
Функция mail всегда возвращает false. При этом
PHP:
error_reporting(E_ALL ^ E_NOTICE);
ini_set('track_errors',1);
ini_set('log_errors',1);
ini_set('display_errors',1);
Где тут собака зарылась?