Posted by JamesBenson on 09/02/05 16:24
http://php.net/mail
choksi wrote:
> Hi All,
> I have php running over Apache on a debian box. I am tryin to use the php
> mail function. When i run this command from console (php email.php) it will
> run and the mail is delivered as it will get the from username from the
> postfix config file but when i run the command from browser it runs through
> apache it uses the apache user nobody and give me error.
> Can some help with how can i change the from username.
> Sep 2 12:00:11 localhost postfix/smtp[17821]: 3B83A52CF6: to=<
> choksi.dhaval@gmail.com>, said: 450 <nobody@localhost.localdomain>: Sender
> address rejected: Domain not found (in reply to RCPT TO command))
Navigation:
[Reply to this message]
|