Enabling php5 mail function on local Apache2 server
andy.allen at virgin.net
Thu Aug 25 09:24:35 UTC 2011
On Thu, 2011-08-25 at 09:44 +0100, Avi Greenbury wrote:
> Mail should work out of the box, if I remember correctly. Is the
> machine set up to send mail outside of PHP?
Yes, I'm sending and receiving email in the normal way with no problems.
> How are you testing for the sending of mail? If you're checking by
> seeing whether it's been delivered to the destination address, it'd be
> worth making sure that the way you're sending doesn't fall foul of
> whatever anti-spam measures the destination server has in place (like,
> for instance, being on a residential ADSL block).
As far as I know there are no ant-spam measures on my local server
(localhost) to prevent reception of such email. I suspect that the mail
is not being sent from localhost because of an incorrect or incomplete
setting in the php5/apache2 configuration.
More information about the ubuntu-users