feat(mail): initial support for ms-tnef (winmail.dat) body part

Fixes #2242
Fixes #4503
This commit is contained in:
Francis Lachapelle
2021-08-13 11:12:37 -04:00
committed by GitHub
parent 98dad1d2dc
commit 045f134321
36 changed files with 3639 additions and 34 deletions
+10
View File
@@ -189,9 +189,19 @@
[self className], @"type",
type, @"contentType",
[[self generateResponse] contentAsString], @"content",
[self filenameForDisplay], @"filename",
[self preferredPathExtension], @"extension",
[[self sizeFormatter] stringForObjectValue: [bodyInfo objectForKey: @"size"]], @"size",
[self pathToAttachment], @"viewURL",
[self pathForDownload], @"downloadURL",
nil];
}
- (NSDictionary *) attachmentIds
{
return attachmentIds;
}
//
// Attachment IDs are used to replace CID from HTML content
// with their MIME parts when viewing an HTML mail with