One of the most common ways for sending email is using SMTP Server Machine. Firstly, System.Web.Email library should be imported to project.
Imports System.Web.Mail
Mail Message Object Type will be included to your code via this library. Mail Message is an object type which is a parameter of SmtpMail.Send function,
Dim Mail As MailMessage
Mail = New MailMessage
Mail.From = "ykocdag80@yahoo.com"
Mail.To = "ykocdag80@yahoo.com"
Mail.Subject = "Mail Subject"
Mail.Body = "Mail Body "
Mail.BodyFormat = MailFormat.Html
Mail.BodyEncoding = System.Text.Encoding.UTF8
After the MailMessage is configured, SMTP Server Machine name should be set,
SmtpMail.SmtpServer = "SMTPMachineName"
The last step in sending email,
SmtpMail.Send(Mail)