Mail() Function

Mail() Function

am 08.11.2007 08:28:42 von David Griffiths

Hi All

I am running apache 2.2.6-1.fc7.

I am now writing a site that will require the sending of forms by php
mail().
What is the minimum I need to configure on my apache development server to
allow me to do this. I do not need a full corporate mail system, just
allowing the website forms to use php mail() on the testing server, I know
the host server will allow the use of mail().

Maybe this is the wrong group to ask this question but I'm sure I'm not the
first to want this minimum configuration.

Thanks in advance

Dave.

Re: Mail() Function

am 08.11.2007 10:01:47 von Shion

David Griffiths wrote:
> Hi All
>
> I am running apache 2.2.6-1.fc7.
>
> I am now writing a site that will require the sending of forms by php
> mail().
> What is the minimum I need to configure on my apache development server
> to allow me to do this. I do not need a full corporate mail system, just
> allowing the website forms to use php mail() on the testing server, I
> know the host server will allow the use of mail().

The easiest is just to install sendmail or postfix, with the default
settings both will be able to send mail and mail sent to a user on the
local machine will be stored in the local inbox.

--

//Aho

Re: Mail() Function

am 08.11.2007 19:43:36 von unknown

Post removed (X-No-Archive: yes)

Re: Mail() Function

am 09.11.2007 14:36:01 von David Griffiths

Thanks guys I will give it a try.... I suppose there is a sendmail group for
when I get stuck...?


"Tom" wrote in message news:fgvlco0228f@drn.newsguy.com...
> On Thu, 8 Nov 2007 08:28:42 +0100, David Griffiths wrote...
>>
>>Hi All
>>
>>I am running apache 2.2.6-1.fc7.
>>
>>I am now writing a site that will require the sending of forms by php
>>mail().
>>What is the minimum I need to configure on my apache development server to
>>allow me to do this. I do not need a full corporate mail system, just
>>allowing the website forms to use php mail() on the testing server, I know
>>the host server will allow the use of mail().
>>
>>Maybe this is the wrong group to ask this question but I'm sure I'm not
>>the
>>first to want this minimum configuration.
>>
>>Thanks in advance
>>
>>Dave.
>>
>
> I think you just need to have access to sendmail, or have another mail
> program
> (like postfix or qmail) setup correctly for the mail() function. I believe
> you
> would use "localhost" for the server address so I wouldn't think you need
> any
> special settings in sendmail
>
> Tom
> --
> NewsGuy Free Trial Accounts
> Now a massive 20 Gigabytes of unrestricted downloads !
> http://newsguy.com/
>