|
Posted by Alistair Baillie SS2002 on 05/17/05 15:26
does the script show an error?
If not the mail function is working.
Are you sure the address your sending it to, doesnt have spam filtering on,
and hasn't caught the mail as spam?
- Ali
"Rafal Zawadzki" <bluszcz@jabberpl.org> wrote in message
news:d6cm6m$1ls2$1@node2.news.atman.pl...
> Hello again.
>
> Mail() function in my php doesn't work.
>
> I've got very simple script:
>
> <?
> mail("bluszcz@jabberpl.org","Test","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
> ----------------------
[Back to original message]
|