Permalink
Browse files

Switched to using quoted printable for text and html parts. (Thanks f…

…or the patch Michael Koziarski)
  • Loading branch information...
1 parent 5a033e9 commit d2fd023d686fc3abcc0561cee2e32bc157c8bd3d @mronge mronge committed Oct 9, 2012
Showing with 2 additions and 4 deletions.
  1. +1 −2 Source/CTMIME_HtmlPart.m
  2. +1 −2 Source/CTMIME_TextPart.m
@@ -92,8 +92,7 @@ - (struct mailmime *)buildMIMEStruct {
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);
@@ -91,8 +91,7 @@ - (struct mailmime *)buildMIMEStruct {
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);

0 comments on commit d2fd023

Please sign in to comment.