Re: Email problem
| From: | Naveen Glore | Date: | Mon, 15 Dec 2003 20:58:17 +0000 |
| Subject: | Re: Email problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172757@lists.php.net to get a copy of this message | ||
Eugene Lee <list-php-1@fsck.net> wrote:
On Mon, Dec 15, 2003 at 12:05:54PM -0800, Naveen Glore wrote:
:
: I have freebsd server with apache, PHP and mysql. i wrote a simple PHP
: program using mail(). The mail() function returns true without any
: error. but the problem is the email is never delivered. I viewed the
: log file for mail(/var/log/maillog) and i saw the following error:
:
: Server sendmail[351]:NOQUEUE:SYSERR(www):can not chdir(/var/spool/clientmqueue/): Permission
denied.
It's a Sendmail issue. Make sure that directory has the right
permission and ownership settings. Mine looks like this:
drwxrwx--- 2 smmsp smmsp 68 11 Dec 07:17 /var/spool/clientmqueue
Hello,
thanks for the quick response. I have the same permissions as yours. My email server is working
fine, i use sendmail MTA and outlook MUA. I am able to send emails and view my received emails in
outlook through my server. But I am having problem when i use mail() function in php code. Email is
never delievered.
thanks,
Naveen.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
---------------------------------
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing