A quite common solution is a combination of a MySQL database (to store the usernames and passwords) and a PHP program to show the site and send the mail.
Kees
<span id="INSERTION_MARKER"> <span id="INSERTION_MARKER"> I need to make a thing were users can log in and stuff. Also i need to make emails automatically sent to the user when they sign up and have it sent me an email.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic