This would need to be in the server side programming section.
But to answer your question you would need to setup a script (depending on ur host) I use
php and this can be acomplished using the mail() function.
If you want a step by step examlpe on how to setup the script just email me.
dave@sypher-design.co.uk