MS
This commit is contained in:
parent
2936b1fcbd
commit
a1ccc6d909
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user