Enable Tls1.1 and Tls1.2
This commit is contained in:
@@ -764,7 +764,10 @@ Public Class frmMain
|
||||
Dim oTenantId = oArchiveFolder
|
||||
oSession = oFetcher.ConnectToO365(oUser, oClientId, oTenantId, oClientSecret)
|
||||
Else
|
||||
oSession = oFetcher.Connect(oServer, oPortIn, oUser, PWPlain, oAuthType)
|
||||
oSession = oFetcher.Connect(oServer, oPortIn, oUser, PWPlain, oAuthType, New MailSession.MailSessionOptions() With {
|
||||
.EnableTls1_1 = True,
|
||||
.EnableTls1_2 = True
|
||||
})
|
||||
End If
|
||||
|
||||
If oSession.Connected = True Then
|
||||
|
||||
Reference in New Issue
Block a user