Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
Dim Mail As New MailMessage()
Dim from As String = "[email protected]"
Dim mailto As String = "[email protected]"
Dim subject As String = "testing send"
Dim body As String = "<html><body>testiing mail sending</body></html>"
SmtpMail.Send(from, mailto, subject, body)
End Sub
End Class
---------------------------------