In PHP, there is the Mail function which lets you send a mail through a script. Is it possible to do the same type of thing with ASP, or will it take a lot of self-written code?