Hi again, 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. Thanks for your help, JC
Am Do, den 03.11.2005 schrieb JC um 22:39:> 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.> JCYes, you either need an MTA or at least a message submission program like msmtp or esmtp. Alexander -- 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 01:11:10 up 5 days, 23:11, load average: 0.33, 0.20, 0.16 -------------- 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/2af12f0a/attachment.sig>
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 -- Kai Sch?tzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com IE-Center: http://ie5.de & http://msie.winware.org
You can only specify a remote SMTP server for PHP to use in Windows versions of PHP according to the .ini file. So you would need to have sendmail running the client queue in order to process the outgoing messages. -Drew -----Original Message----- From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of JC Sent: Thursday, November 03, 2005 4:40 PM To: centos at centos.org Subject: [CentOS] mail() function in php Hi again, 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. Thanks for your help, JC _______________________________________________ CentOS mailing list CentOS at centos.org http://lists.centos.org/mailman/listinfo/centos