SmtpServer.Credentials = New Net.NetworkCredential("xxx@gmail.com", "xxx") SmtpServer.Host = "smtp.gmail.com" SmtpServer.Port = 587 SmtpServer.EnableSsl = True SmtpServer.DeliveryMethod = SmtpDeliveryMethod.Network SmtpServer.UseDefaultCredentials = False
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)