Here’s a piece of code I used in framework 1.1
1 | Imports System.Web.Mail |
In Framework 2.0 they obsoleted the System.Web.Mail and replaced it with System.Net.Mail.
Here is an example of asp.net 2.0 mail sending
1 | Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load |