From d2fd023d686fc3abcc0561cee2e32bc157c8bd3d Mon Sep 17 00:00:00 2001 From: Matt Ronge Date: Mon, 8 Oct 2012 20:12:55 -0500 Subject: [PATCH] Switched to using quoted printable for text and html parts. (Thanks for the patch Michael Koziarski) --- Source/CTMIME_HtmlPart.m | 3 +-- Source/CTMIME_TextPart.m | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Source/CTMIME_HtmlPart.m b/Source/CTMIME_HtmlPart.m index ba2a28b..08eabc9 100644 --- a/Source/CTMIME_HtmlPart.m +++ b/Source/CTMIME_HtmlPart.m @@ -92,8 +92,7 @@ int r; /* text/html part */ - //TODO this needs to be changed, something other than 8BIT should be used - mime_fields = mailmime_fields_new_encoding(MAILMIME_MECHANISM_8BIT); + mime_fields = mailmime_fields_new_encoding(MAILMIME_MECHANISM_QUOTED_PRINTABLE); content = mailmime_content_new_with_str("text/html"); param = mailmime_parameter_new(strdup("charset"), strdup(DEST_CHARSET)); r = clist_append(content->ct_parameters, param); diff --git a/Source/CTMIME_TextPart.m b/Source/CTMIME_TextPart.m index 20c094a..3cbfeae 100644 --- a/Source/CTMIME_TextPart.m +++ b/Source/CTMIME_TextPart.m @@ -91,8 +91,7 @@ int r; /* text/plain part */ - //TODO this needs to be changed, something other than 8BIT should be used - mime_fields = mailmime_fields_new_encoding(MAILMIME_MECHANISM_8BIT); + mime_fields = mailmime_fields_new_encoding(MAILMIME_MECHANISM_QUOTED_PRINTABLE); content = mailmime_content_new_with_str("text/plain"); param = mailmime_parameter_new(strdup("charset"), strdup(DEST_CHARSET)); r = clist_append(content->ct_parameters, param);