Please help me with php mail() function!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jsoftintl
Forum Newbie
Posts: 1
Joined: Mon Nov 25, 2002 1:58 pm
Location: Missouri, USA

Please help me with php mail() function!

Post 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
User avatar
BigE
Site Admin
Posts: 139
Joined: Fri Apr 19, 2002 9:49 am
Location: Missouri, USA
Contact:

Post 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.
Post Reply