Hi
1)You can import system.net.mail
2) You can use this code
Dim mm As New MailMessage(fromid, toid, subject, body)
mm.IsBodyHtml = True
Dim smtp As New SmtpClient
smtp.Send(mm)
3)You can set the mail setting on WEB.CONFIG
<system.net>
<mailSettings>
<smtp>
<network host="localhost" port="23"/>
</smtp>
</mailSettings>
</system.net>
I hope this is useful for you