Fix filesystem refs
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
Imports System.IO
|
||||
Imports DigitalData.Modules.Logging
|
||||
Imports DigitalData.Modules.Filesystem
|
||||
Imports DigitalData.Modules.Base
|
||||
Imports Limilabs.Mail
|
||||
Imports Limilabs.Mail.MIME
|
||||
Imports Limilabs.Mail.MSG
|
||||
@@ -11,7 +11,7 @@ Public Class Email2
|
||||
Private ReadOnly Logger As Logger
|
||||
Private ReadOnly LoggerMail As Logger
|
||||
Private ReadOnly LogConfig As LogConfig
|
||||
Private ReadOnly FileEx As Filesystem.File
|
||||
Private ReadOnly FileEx As FilesystemEx
|
||||
Private ReadOnly MailBuilder As New MailBuilder()
|
||||
Private ReadOnly TempFiles As New List(Of String)
|
||||
|
||||
@@ -21,7 +21,7 @@ Public Class Email2
|
||||
LogConfig = pLogConfig
|
||||
Logger = pLogConfig.GetLogger()
|
||||
LoggerMail = pLogConfig.GetLogger("Limilabs.Mail")
|
||||
FileEx = New Filesystem.File(pLogConfig)
|
||||
FileEx = New FilesystemEx(pLogConfig)
|
||||
|
||||
' Turn on internal Mail.dll logging
|
||||
Limilabs.Mail.Log.Enabled = True
|
||||
|
||||
@@ -244,8 +244,8 @@ Namespace Mail
|
||||
End Try
|
||||
End Function
|
||||
|
||||
Public Async Function TestLogin(pServer As String, pPort As Integer, pUser As String, pPassword As String, pAuthType As String, pOptions As MailSessionOptions) As Task(Of Boolean)
|
||||
Dim oInfo = Await ConnectToServer(pServer, pPort, pUser, pPassword, pAuthType, pOptions)
|
||||
Public Function TestLogin(pServer As String, pPort As Integer, pUser As String, pPassword As String, pAuthType As String, pOptions As MailSessionOptions) As Boolean
|
||||
Dim oInfo = ConnectToServer(pServer, pPort, pUser, pPassword, pAuthType, pOptions)
|
||||
If oInfo.Connected Then
|
||||
If DisconnectFromServer() Then
|
||||
Return True
|
||||
|
||||
@@ -140,10 +140,6 @@
|
||||
<Project>{6ea0c51f-c2b1-4462-8198-3de0b32b74f8}</Project>
|
||||
<Name>Base</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Filesystem\Filesystem.vbproj">
|
||||
<Project>{991d0231-4623-496d-8bd0-9ca906029cbc}</Project>
|
||||
<Name>Filesystem</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Language\Language.vbproj">
|
||||
<Project>{d3c8cfed-d6f6-43a8-9bdf-454145d0352f}</Project>
|
||||
<Name>Language</Name>
|
||||
|
||||
Reference in New Issue
Block a user