I've created a simple script that creates a user password and stores it in database (along with the user's e-mail address).

I'd like to have the password automatically e-mailed to the user, but don't know how to do this. I've checked out hotscripts, but didn't come across anything.

Any help?