First you have to make sure your server has CDO or CDONTS. These should do the trick. I've provided you a link to a sample CDO code.

Or you can use the ASPMail component. It's free on the internet (I forgot where though, just search for it). Ask your server admin. if he can register it for you.

http://www.4guysfromrolla.com/webtech/112298-1.shtml

Good Luck!