MS_Divers

This commit is contained in:
Digital Data - Marlon Schreiber
2019-04-16 12:35:42 +02:00
parent 1947a6b128
commit 5f5eff7231
33 changed files with 10995 additions and 86 deletions

View File

@@ -71,11 +71,13 @@ Public Class clsEmailIMAP
Dim oMessage = oClient.GetMessage(oMessageId, False, Inbox)
Dim oTempPath = Path.GetTempFileName()
Dim oResult = WriteMessageToFile(oMessage, oTempPath)
Dim oCount As Integer = 0
Dim oMsg As New Message(oTempPath)
oCount &= 1
If IsTest = False Then
MAIL_LIST.Add(oMsg)
Else
Logger.Info($"IMAP-Test Message#: {oCount} - Msgsubject is: {oMsg.Subject}")
Logger.Debug($"message correctly fetched. Mail has been downloaded to {oTempPath}")
End If