Hello again.
Mail() function in my php doesn't work.
I've got very simple script:
<?
mail("bluszcz@j abberpl.org","T est","Test");
?>
My php.ini important lines are:
sendmail_path = /usr/sbin/poczta.sh
log_errors = On
error_log = /var/log/php.log
error_reporting = E_ALL
sendmail_path was earlier set to sendmail, but it doesn't work so i
tried to debug it.
error log works fine, but it doesn't show any error connected with mail
function.
/usr/sbin/poczta.sh is my script which contains:
#!/bin/bash
echo "mail() function was used" >>/tmp/php_MAIL.log
Anyone has got an idea?
Cheers,
--
Rafal Bluszcz Zawadzki
JabberPL.org SysAdmin
----------------------
Mail() function in my php doesn't work.
I've got very simple script:
<?
mail("bluszcz@j abberpl.org","T est","Test");
?>
My php.ini important lines are:
sendmail_path = /usr/sbin/poczta.sh
log_errors = On
error_log = /var/log/php.log
error_reporting = E_ALL
sendmail_path was earlier set to sendmail, but it doesn't work so i
tried to debug it.
error log works fine, but it doesn't show any error connected with mail
function.
/usr/sbin/poczta.sh is my script which contains:
#!/bin/bash
echo "mail() function was used" >>/tmp/php_MAIL.log
Anyone has got an idea?
Cheers,
--
Rafal Bluszcz Zawadzki
JabberPL.org SysAdmin
----------------------
Comment