added comment for later

This commit is contained in:
Wyatt Miller 2018-11-26 03:57:24 -05:00
parent cb5e516361
commit dc2e9d8f52
2 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ namespace DeskHubSharp
using (var client = new SmtpClient()) using (var client = new SmtpClient())
{ {
client.Connect("smtp.gmail.com", 465, SecureSocketOptions.SslOnConnect); client.Connect("smtp.gmail.com", 465, SecureSocketOptions.SslOnConnect);
// change credentials
client.Authenticate(_from, "password"); client.Authenticate(_from, "password");
client.Send(message); client.Send(message);
client.Disconnect(true); client.Disconnect(true);