(fix) we no longer always rewrite emails for Outlook when using EAS

This commit is contained in:
Ludovic Marcotte 2015-10-14 09:29:52 -04:00
parent 7f92aca0bd
commit a54cc22da8
2 changed files with 2 additions and 1 deletions

View file

@ -541,7 +541,7 @@ struct GlobalObjectId {
// We sanitize the content *ONLY* for Outlook clients and if the content-transfer-encoding is 8bit. Outlook has strange issues
// with quoted-printable/base64 encoded text parts. It just doesn't decode them.
encoding = [[self lookupInfoForBodyPart: @""] objectForKey: @"encoding"];
if ([[context objectForKey: @"DeviceType"] isEqualToString: @"WindowsOutlook15"] || ([encoding caseInsensitiveCompare: @"8bit"] == NSOrderedSame))
if (encoding && ([encoding caseInsensitiveCompare: @"8bit"] == NSOrderedSame))
d = [self _sanitizedMIMEMessage];
else
d = [self content];

1
NEWS
View file

@ -4,6 +4,7 @@
New features
Enhancements
- we no longer always entirely rewrite messages for Outlook 2013 when using EAS
Bug fixes
- numerous EAS fixes when connections are dropped before the EAS client receives the response (#3058, #2849)