EMail Profiler: Test-Projekt kann jetzt EML-Dateien einlesen. / Der erste E-Mail-Anhang darf eine XML-Datei sein
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
Imports System.IO
|
||||
Imports DigitalData.Modules.Logging
|
||||
Imports EmailProfiler.Common
|
||||
|
||||
Public Class ExtractAttachmentsFromEMLFile
|
||||
|
||||
Private ReadOnly _LogConfig As LogConfig
|
||||
|
||||
Sub New()
|
||||
|
||||
Dim oLogPath = Path.Combine(My.Application.Info.DirectoryPath, "Log")
|
||||
_LogConfig = New LogConfig(LogConfig.PathType.CustomPath, oLogPath, Nothing, "Digital Data", "DD EmailProfiler TEST", 30)
|
||||
|
||||
End Sub
|
||||
|
||||
Public Sub CallWorkerProcess(pEMLFilename As String, pConfigData As ConfigData)
|
||||
|
||||
Dim oProfileIdForPolling = 0
|
||||
Dim oWorker As New clsWorker(_LogConfig,
|
||||
pConfigData.ConnectionString,
|
||||
"",
|
||||
oProfileIdForPolling,
|
||||
pConfigData,
|
||||
pEMLFilename)
|
||||
|
||||
oWorker.Start_WorkingProfiles(True)
|
||||
|
||||
End Sub
|
||||
|
||||
End Class
|
||||
Reference in New Issue
Block a user