Switched to using quoted printable for text and html parts. (Thanks for the patch Michael Koziarski)

This commit is contained in:
Matt Ronge
2012-10-08 20:15:18 -05:00
parent 5a033e98ec
commit d2fd023d68
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -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);
+1 -2
View File
@@ -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);