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