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

Posted by Timothee Groleau on 05/17/06 09:05

Hi all,

I'm having a problem with using the mail function. My setup is Gentoo
2006.0/Apache2/PHP5.1.4.

The mail system installed on my machine is ssmtp (minimal tool to send
email). It has an executable as /usr/sbin/ssmtp and a
symlink /usr/bin/sendmail pointing to it.

My php.ini contains the following:
[mail function]
sendmail_path = /usr/sbin/ssmtp

When ssmtp runs, it reports messages using syslog in /var/log/messages. When
I use the mail function in php, it returns true but I never receive the
mail. Furthermore, there is no indication in /var/log/messages that ssmtp
ran at all.

How can I check what PHP did when calling mail and how can I fix this?

Thanks in advance!
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

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