[CentOS] mail() function in php

Alexander Dalloz ad+lists at uni-x.org
Fri Nov 4 02:53:22 UTC 2005

Am Fr, den 04.11.2005 schrieb Kai Schaetzl um 2:31:
> Jc wrote on Thu, 3 Nov 2005 13:39:52 -0800 (PST):

> > I just wonder if I need to setup email server (postfix,qmail,sendmail) in 
> > order to use mail() function in php?  If not, what do I have to configure 
> > for mail() function to work properly? I'm using CentOS 4.2.
> If possible at all, don't use mail(), better use an SMTP class. Anyway, for 
> both you need a working MTA.
> Kai

Right, a very good annotation about not using the mail() function, but
to use i.e.


or Pear's class


Instead of a fully featured MTA a submitter can be enough, which hands
the outgoing mail over to a mail hub (which then typically masquerades


Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 03:49:18 up 6 days, 1:49, load average: 0.08, 0.22, 0.22 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.centos.org/pipermail/centos/attachments/20051104/f5921b77/attachment.sig>

More information about the CentOS mailing list