Eugene Lee <[EMAIL PROTECTED]> 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