This commit is contained in:
@@ -305,24 +305,6 @@ namespace rockfishCore.Util
|
|||||||
//send with optional tracking
|
//send with optional tracking
|
||||||
DoSend(reply, from_account, from_account_password, trackDeliveryStatus);
|
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
|
//flag the message as having been replied to
|
||||||
FlagInboxMessageSeenReplied(replyToMessageId, replyFromAccount);
|
FlagInboxMessageSeenReplied(replyToMessageId, replyFromAccount);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user