MS Email-Sending Errors

This commit is contained in:
2023-05-10 11:59:39 +02:00
parent ab99d5bb6a
commit 7bcf839cb3
17 changed files with 197 additions and 1206 deletions

View File

@@ -684,7 +684,7 @@ Public Class ClassNIWindream
i1 += 1
Next
End If
If My.Settings.vNIMailsenden = True Then
If My.Settings.vMailsenden = True Then
'email.Send_EMail("Fehler bei RunIndexing - Datei: " & oDocument.aName.ToString & "<br>Profilname: " & Profil & "<br>Fehler: " & ex.Message)
End If
oDocument.Save()
@@ -908,7 +908,7 @@ Public Class ClassNIWindream
Catch ex As Exception
_Logger.Error(ex)
If My.Settings.vNIMailsenden = True Then
If My.Settings.vMailsenden = True Then
'email.Send_EMail("Fehler bei SetfinalIndex - Datei: " & oDocument.aName.ToString & " - Fehler: " & ex.Message)
End If
oDocument.Save()
@@ -1038,6 +1038,7 @@ Public Class ClassNIWindream
Const WMEntityDocument = 1
Dim IndexwertAusWindream As Object = Nothing
_Logger.Debug($"NEW_MOVE_FILE getting WMObject for: {sourcepath}")
oWMFile = oWMSession.GetWMObjectByPath(WMEntityDocument, sourcepath)
If oWMFile.lock Then
oWMFile.aPath = targetpath