You are here: Re: Function mail() problem... « PHP Programming Language « IT news, forums, messages
Re: Function mail() problem...

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
> ----------------------

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация