EmailProfiler.Common:

- Dateien ohne Dateinamen im PDF müssen abgelehnt werden.
EmailProfiler.Form:
- Korrektur der Referenzen
wisag_check_Att:
- Projekt restauriert
- GDPicture 14.4.4
This commit is contained in:
2026-07-16 13:57:55 +02:00
parent 743df08376
commit e634961851
7 changed files with 162 additions and 96 deletions

View File

@@ -233,7 +233,9 @@ Public Class clsWorkEmail
SendRejectionMailToSenderIfEmbeddedAttachmentsAreNotValid()
DeleteAllCollectedAttachments()
CURRENT_ImapObject.DeleteMessageByUID(poUID)
If CURRENT_ImapObject IsNot Nothing Then
CURRENT_ImapObject.DeleteMessageByUID(poUID)
End If
Else
If IS_LOCAL_TEST = False Then
@@ -1240,6 +1242,16 @@ Public Class clsWorkEmail
Continue For
End If
End If
Else
' 16.07.26 Wenn der Datei-Status defekt ist, ist die ganze Datei defekt.
oEmbeddedFile.ErrorCodeValue = ErrorCode.EmbeddedFileAttachmentCorrupt
oEmbeddedFile.ErrorCodeComment = "PDF Structure corrupt"
oEmbeddedFile.IsAttachmentValid = False
' wenn ein eingebettetes attachment defekt ist, ist das Hauptattachment auch defekt
pEmailAttachment.ErrorCodeValue = ErrorCode.NormalFileAttachmentCorrupt
pEmailAttachment.ErrorCodeComment = "PDF Structure corrupt"
pEmailAttachment.IsAttachmentValid = False
End If
Next