Subscribe to mailing list

Hi all,

I have this flash8 site and I need to make a something where visitors enter their email and automatically subscribe to a mailing list.

I was thinking it could be just a input text with a php command that together with a php code, just sends me an email with the entered email. Then i can add the new email to a mailing list. Or it should be more automatic, where they immediately received an email informing them that they just subscribed to the mailing list. Is it php, cgi, asp? I dont know…

Please help,