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