Dim mail As New MailMessage() mail.[To].Add(AppMgr.SelectedValue) 'mail.To.Add("man@celestica.com") mail.IsBodyHtml = True Dim smtp As New SmtpClient() smtp.Host = "smtp.gmail.com" 'Or Your SMTP Server Address smtp.Credentials = New System.Net.NetworkCredential("YourGmailID@celestica.com", "YourcelesticamailPassword") 'Or your Smtp Email ID and Password smtp.EnableSsl = True smtp.Send(mail)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)