How i send email from a page using ASP.NET

i wanna use this http://www.kirupa.com/developer/actionscript/flash_php_email.htm
but i cant use php form i very want somthing like this with flash but using ASP.net
tnx