Ticket system some fixes where the attachment filename could not be read

This commit is contained in:
OpenXE
2023-02-01 11:24:20 +01:00
parent f0bebba1ff
commit 0eb3ba50f2
3 changed files with 20 additions and 8 deletions
@@ -153,8 +153,9 @@ final class MailMessagePartData implements MailMessagePartInterface, JsonSeriali
if ($encodingHeader === null ) {
$result = $this->content;
}
$result = $this->decode($this->content, $encodingHeader->getValue());
else {
$result = $this->decode($this->content, $encodingHeader->getValue());
}
$charset = $this->getCharset();