This commit is contained in:
SchreiberM 2021-07-14 09:50:29 +02:00
parent 2936b1fcbd
commit a1ccc6d909
8 changed files with 7 additions and 0 deletions

Binary file not shown.

View File

@ -285,6 +285,13 @@ Public Class clsWorkEmail
Dim cleanPath As String = String.Join("", oTempFilename.Split(Path.GetInvalidPathChars())) Dim cleanPath As String = String.Join("", oTempFilename.Split(Path.GetInvalidPathChars()))
If System.IO.File.Exists(cleanPath) = False Then If System.IO.File.Exists(cleanPath) = False Then
Try
File.Delete(cleanPath)
Catch ex As Exception
Logger.Error(ex)
Return False
End Try
CURRENT_MAIL_MESSAGE.Save(cleanPath, True) CURRENT_MAIL_MESSAGE.Save(cleanPath, True)
Dim oFileInfo As New FileInfo(cleanPath) Dim oFileInfo As New FileInfo(cleanPath)
Dim oFileLenth As Long = oFileInfo.Length Dim oFileLenth As Long = oFileInfo.Length