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

Posted by Alvaro G Vicario on 05/17/05 17:41

*** Rafal Zawadzki wrote/escribió (Tue, 17 May 2005 14:01:32 +0200):
> sendmail_path = /usr/sbin/poczta.sh

> sendmail_path was earlier set to sendmail, but it doesn't work so i
> tried to debug it.

Does sendmail work from command line? Does PHP send mail if sendmail_path
not set? Does the postmaster user get the message returned?

> #!/bin/bash
> echo "mail() function was used" >>/tmp/php_MAIL.log

Does the script print the line? Does the script work from command line?
Does apache user have permission to write on /tmp/php_MAIL.log?


--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--

 

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

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