I need to put a SMTP mail server on my webserver and then make it run a PHP script and use the mail call to send emails every morning.

The webserver currently has IIS installed, but the mail server installed with it doesn't seem to want to work. So the first task is to get a good mail server installed. Any suggestions?

The next problem is sending the mail. I have that done. It's a simple page that checks a database and grabs certain records to be mailed off to different users.

The last problem is the automation. I need to run the script every morning at 7 AM. Does anyone know how to accomplish that?

Any help would be appreciated.