From ccdb968e220db049babc8289ba2e25aac65de0c9 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Tue, 8 Dec 2015 14:14:46 -0500 Subject: [PATCH] Revert "Fix HTML content type when attaching files" This reverts commit 970f5e5bfefdc3315f774c58cf3012ec1ea45f61. --- UI/MailerUI/UIxMailEditor.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/MailerUI/UIxMailEditor.m b/UI/MailerUI/UIxMailEditor.m index b87cfedfa..41e5761b1 100644 --- a/UI/MailerUI/UIxMailEditor.m +++ b/UI/MailerUI/UIxMailEditor.m @@ -639,7 +639,6 @@ static NSArray *infoKeys = nil; co = [self clientObject]; [co fetchInfo]; - [co setIsHTML: isHTML]; if ([[mimeType type] isEqualToString: @"multipart"]) { @@ -649,6 +648,7 @@ static NSArray *infoKeys = nil; { info = [self infoFromRequest]; [co setHeaders: info]; + [co setIsHTML: isHTML]; [co setText: (isHTML ? [NSString stringWithFormat: @"%@", text] : text)];; error = [co storeInfo]; }