RE: [PHP] Help !! Mail Function Problem (Newbie)
| From: | Simos Varelakis | Date: | Wed, 16 Jan 2002 18:32:42 +0000 |
| Subject: | RE: [PHP] Help !! Mail Function Problem (Newbie) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80782@lists.php.net to get a copy of this message | ||
>
> mail("simos@foo.com", "Subject", "Line 1\nLine 2\nLine 3");
>
> --
Thanks jim
I still have the same problem even with mail("simos@foo.com", "Subject",
"Line 1\nLine 2\nLine 3");
and it has to do with permstions ...
Wright now I notice that in /var/log/mail/errors exist a line
Jan 16 20:20:34 thewall sendmail[4670]: g0H1KYP04670: SYSERR(apache): Cannot
create ./dfg0H1KYP04670: Permission denied
so it has to do with permitions and only root & mail user can send mail from
the server..
The problem is that i dont know how to fix it
anyway thanks again for your help :-)