When you logged in as www-data manually you started a login shell. You can
think of that shell as a "pre shell" where all of www-data's dot files were
read, environment variables were set, etc. before starting up the command shell.
When apache is running, it is not "logged in" as www-data, so n
test.com”, “The Subject”, “Hello world”); *
>
> *?>*
>
>
>
> When all’s said and done though, Apache has nothing to do with sending
> emails, in a nutshell, it just serves webpages.
>
>
>
>
> ------
>
> *From:* Lyle Wincentsen
May behoove you to check maillog.
Its your local mail exchanger.
- Original Message -
From: "Richard Peacock" [richard.peac...@minorplanet.com]
Sent: 06/15/2009 11:48 AM CET
To:
Subject: RE: [us...@httpd] sending email
I don't think this is an Apache problem, it
tshell, it just serves webpages.
From: Lyle Wincentsen [mailto:lyle.wincent...@gmail.com]
Sent: 13 June 2009 14:46
To: users@httpd.apache.org
Subject: [us...@httpd] sending email
I'm trying to send an email when a user hits the submit button on a
webpage,
I'm trying to send an email when a user hits the submit button on a webpage,
but the email never goes out. I'm using the php mail function as follows:
mail($recipient_address, $subject, $body);
It works fine for me if I send it from the php command line, but not from my
web page. I use esmtp as m