Complete FAQ for the System.Net.Mail namespace found in .NET 2.0
 ‘create the mail message
Dim mail As New MailMessage()‘set the addresses
mail.From = New MailAddress(“me@mycompany.com”)
mail.To.Add(“you@yourcompany.com”)‘set the content
mail.Subject = “This is an email”
mail.Body = “this is a sample body with html in it. This is bold This is blue”
mail.IsBodyHtml = True‘send the message
Dim smtp As New SmtpClient(“127.0.0.1”)
smtp.Send(mail)