Ticket system rewrite of ticket import attachment handling, now with application/octet-stream and cid

This commit is contained in:
OpenXE
2023-02-02 16:39:00 +01:00
parent 9a45653eaf
commit 6bb54be5a3
4 changed files with 85 additions and 75 deletions
@@ -83,6 +83,18 @@ final class MailMessagePartData implements MailMessagePartInterface, JsonSeriali
return $this->headers[strtolower($name)];
}
/**
* @inheritDoc
*/
public function getHeaderValue(string $name): ?string
{
$header = $this->getHeader($name);
if ($header == null) {
return (null);
}
return($header->getValue());
}
/**
* @inheritDoc
*/