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@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of JC Sent: Thursday, November 03, 2005 4:40 PM To: centos@xxxxxxxxxx Subject: 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@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos