benw
Joined: 03 Dec 2005
Posts: 1
|
| Posted: Sat Dec 03, 2005 11:34 am Post subject: Problems sending mail from PHP with XMail |
|
|
Hey everybody,
I have XMail installed under Debian and it's working okay, except I'm unable to send mail from a PHP script under apache2.
When I issue the mail() function, I get the following error in my error_log:
cannot find environment variable: MAIL_ROOT
MAIL_ROOT is set to /var/MailRoot in the init.d script. I've tried setting it manually with an export command, but I still get the same thing. I even tried Apache's SetEnv function to set it on startup but the error persists.
Any linux gurus out there have any ideas?
Thanks!
Ben |
|