mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 07:35:55 +08:00
Added mime types multipart/report and message/global-delivery-status
This commit is contained in:
parent
d10e4ba22a
commit
ad81e3f9e9
|
@ -24,6 +24,8 @@ abstract class ContentType
|
|||
const PGP_SIGNATURE = 'application/pgp-signature';
|
||||
const PKCS7_SIGNATURE = 'application/pkcs7-signature';
|
||||
const PKCS7_MIME = 'application/pkcs7-mime';
|
||||
// RFC 3462
|
||||
const REPORT = 'multipart/report'; // ; report-type=delivery-status;
|
||||
|
||||
public static function isPkcs7Mime(string $data) : bool
|
||||
{
|
||||
|
|
|
@ -226,6 +226,10 @@ abstract class MimeType
|
|||
|
||||
'eml' => 'message/rfc822',
|
||||
'mime' => 'message/rfc822',
|
||||
// RFC 3464
|
||||
// 'u8dsn' => 'message/delivery-status',
|
||||
// RFC 5337
|
||||
'u8dsn' => 'message/global-delivery-status',
|
||||
|
||||
'txt' => 'text/plain',
|
||||
'asp' => 'text/asp',
|
||||
|
|
Loading…
Reference in a new issue