PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > alt.php > Mail() Function
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Mail() Function

Réponse
 
LinkBack Outils de la discussion
Vieux 08/11/2007, 07h28   #1
David Griffiths
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Mail() Function

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.

  Réponse avec citation
Vieux 08/11/2007, 09h01   #2
J.O. Aho
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Mail() Function

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
  Réponse avec citation
Vieux 08/11/2007, 18h43   #3
Tom
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Mail() Function

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/

  Réponse avec citation
Vieux 09/11/2007, 13h36   #4
David Griffiths
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Mail() Function

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


"Tom" <tom@to.com> 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/
>


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 20h34.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14450 seconds with 12 queries