MS Email-Sending Errors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user