From 970f5e5bfefdc3315f774c58cf3012ec1ea45f61 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Tue, 1 Dec 2015 16:10:07 -0500 Subject: [PATCH] Fix HTML content type when attaching files --- 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 41e5761b1..b87cfedfa 100644 --- a/UI/MailerUI/UIxMailEditor.m +++ b/UI/MailerUI/UIxMailEditor.m @@ -639,6 +639,7 @@ static NSArray *infoKeys = nil; co = [self clientObject]; [co fetchInfo]; + [co setIsHTML: isHTML]; if ([[mimeType type] isEqualToString: @"multipart"]) { @@ -648,7 +649,6 @@ static NSArray *infoKeys = nil; { info = [self infoFromRequest]; [co setHeaders: info]; - [co setIsHTML: isHTML]; [co setText: (isHTML ? [NSString stringWithFormat: @"%@", text] : text)];; error = [co storeInfo]; }