Iwas
This commit is contained in:
@@ -541,8 +541,10 @@ Public Class AVISO_Mail_Functions
|
||||
Try
|
||||
If AvisoId > 0 Then
|
||||
' The full path will place the email in the user's temporary folder
|
||||
|
||||
If bezeichnung = "" Then bezeichnung = Left(Regex.Replace(mailItem.Subject, "[\/\\\:\?\*\<\>\|""]", ""), 100).Replace("""", "").Replace(vbTab, " ") & ".msg"
|
||||
If bezeichnung <> "" Then
|
||||
bezeichnung = Left(Regex.Replace(mailItem.Subject, "[\/\\\:\?\*\<\>\|""]", ""), 100).Replace("""", "").Replace(vbTab, " ") & ".msg"
|
||||
bezeichnung = VERAG_PROG_ALLGEMEIN.cDATENSERVER.replaceInvalidCahr(bezeichnung)
|
||||
End If
|
||||
Dim strTmpPath As String = System.IO.Path.GetTempPath() & bezeichnung & If(bezeichnung.EndsWith(".msg"), "", ".msg")
|
||||
' Save the email to the user's temp folder and convert it to a .MSG
|
||||
'Dim cnt = 0
|
||||
|
||||
Reference in New Issue
Block a user