added comment for later
This commit is contained in:
parent
cb5e516361
commit
dc2e9d8f52
Binary file not shown.
@ -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);
|
||||||
|
Reference in New Issue
Block a user