Page 1 of 1

Please help me with php mail() function!

Posted: Mon Nov 25, 2002 1:58 pm
by jsoftintl
Hi. I'm setting up a web server for a client. We have Win 2000 Server installed, using the IIS. We've also installed PHP 4 & MySql. Both work, the PHP and SQL, but the mail() function won't work. I've tried changing the servers in the php.ini file, but to no avail. The server does NOT have a mail server. Do I need to install a mail server, or can I make php use an outside server (ex. jsoftintl.com). I've tried that, but it didn't work. Maybe there is something else I need to change in the php.ini file? Please help, it's greatly appreciated!!!

Thanks! - Michael

Posted: Mon Nov 25, 2002 2:20 pm
by BigE
You can do both. I would reccoment getting a windows mail server and installing it on that machine. Of course it will take some configuration and such, but it will work. If you do it on an external server, you just have to make sure that mail server will allow your machine to use it to send mail.