Enable Tls1.1 and Tls1.2
This commit is contained in:
@@ -268,8 +268,10 @@ Public Class clsWorker
|
||||
Dim oTenantId As String = pArchiveFolder
|
||||
oSession = Fetcher.ConnectToO365(pUsername, oClientId, oTenantId, oClientSecret)
|
||||
Else
|
||||
|
||||
oSession = Fetcher.Connect(pServer, pPort, pUsername, pPassword, pAuthType)
|
||||
oSession = Fetcher.Connect(pServer, pPort, pUsername, pPassword, pAuthType, New MailSession.MailSessionOptions() With {
|
||||
.EnableTls1_1 = True,
|
||||
.EnableTls1_2 = True
|
||||
})
|
||||
End If
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user