This commit is contained in:
2018-07-26 18:26:21 +00:00
parent a83df7f444
commit 3110b706e9

View File

@@ -305,24 +305,6 @@ namespace rockfishCore.Util
//send with optional tracking
DoSend(reply, from_account, from_account_password, trackDeliveryStatus);
// using (var client = new SmtpClient())
// {
// //Accept all SSL certificates (in case the server supports STARTTLS)
// //(we have a funky cert on the mail server)
// client.ServerCertificateValidationCallback = (s, c, h, e) => true;
// client.Connect(MAIL_SMPT_ADDRESS, MAIL_SMPT_PORT, true);
// // Note: since we don't have an OAuth2 token, disable
// // the XOAUTH2 authentication mechanism.
// client.AuthenticationMechanisms.Remove("XOAUTH2");
// // Note: only needed if the SMTP server requires authentication
// client.Authenticate(from_account, from_account_password);
// client.Send(reply);
// client.Disconnect(true);
// }
//flag the message as having been replied to
FlagInboxMessageSeenReplied(replyToMessageId, replyFromAccount);