Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 200003

Re: [PHP3] MAIL problem From: Stefan Carstens (stefancarstens <email protected>)
Date: 03/18/00

WJ Gilmore wrote:
>
> Hi all,
>
> Quick question regarding the MAIL() function. I'm getting the following
> message when I attempt to send a mail using PHP's mail() function.
>
> queuename: Cannot create "qfIAA162659" in "/var/spool/mqueue"
> (euid=189): Permission denied
>
> I'm running off an ISP using Apache. Any idea what configuration they
> are using to prevent me from sending mail using this wonderful PHP
> function?
>
> My mail function is used as follows:
>
> mail($who,$subject, $the_email);
>
> of course, all variables are filled in.
>
> Thanks!!!
> wj
> wj <email protected>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin <email protected>
Perhaps your mail account is not set.
It seems as if you have not enough rights to do this.
Check the configuration for your site, the server perhaps.
Another thing I would try is to set "extra-headers", as discribed in the
manual, to set the
from address as needed.
This error might occur, if someone tries to relay a message.
ensure that in your FROM header the domain is set correctly.
I had the same problem, but after changing the from adress to
news <email protected> it worked.
If I'm not right, I'm not a proffessional, please excuse my sugestions!

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>