Switched to using quoted printable for text and html parts. (Thanks for the patch Michael Koziarski)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user