You are here: Re: mail reports success but nothing happens « All PHP « IT news, forums, messages
Re: mail reports success but nothing happens

Posted by Timothee Groleau on 05/17/06 12:19

Hi Aho,

Thanks a lot for your reply, it helped!

>> My php.ini contains the following:
>> [mail function]
>> sendmail_path = /usr/sbin/ssmtp
>
> You should use the default value for this and let ssmtp to be run with the
> sendmail alias (not sure, but can be that ssmtp works differently when
> called sendmail in a similar manner as busybox).

I had tried both (using /usr/sbin/ssmtp and /usr/sbin/sendmail) with the
same results :(.

I just followed your advice and use the default by commenting out the entry
altogether and it worked :)! Thanx! By checking phpinfo(), I can see the
default value contains options "-t -i" which must be what make it work. I
feel kinda dumb right now :/.


> If no log, then it's not been used.

OK, thanks for confirming this.


> You can try to add <? ini_set('display_errors','1'); ?> to your script,
> this will display error message directly in your browser.

Thanks, I will keep that in mind.


> I would recommend to use a real MTA, I don't feel that ssmtp is good for
> anything really. emerge -C ssmtp && emerge sendmail

Well, since ssmtp seems to work now, I will keep it a little longer. I don't
need a powerhouse mta on this machine, just a simple forwarder basically
and ssmtp seems to fit the bill quite well. I will probably try sendmail
later if my needs in email grow.

Thanks again for your help, I much appreciate it.

Cheers,
Tim.

 

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

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