Skip to content
Browse files

Don't include inline disposition on HTML parts

  • Loading branch information...
1 parent 7b03944 commit b85d0934c833ae2a403b9bc3f6108c078403d377 @mronge mronge committed
Showing with 1 addition and 3 deletions.
  1. +1 −3 Source/CTMIME_HtmlPart.m
View
4 Source/CTMIME_HtmlPart.m
@@ -89,14 +89,12 @@ - (struct mailmime *)buildMIMEStruct {
struct mailmime *mime_sub;
struct mailmime_content *content;
struct mailmime_parameter *param;
- struct mailmime_disposition *disposition;
struct mailmime_mechanism *encoding;
int r;
/* text/html part */
encoding = mailmime_mechanism_new(MAILMIME_MECHANISM_QUOTED_PRINTABLE, NULL);
- disposition = mailmime_disposition_new_with_data(MAILMIME_DISPOSITION_TYPE_INLINE, NULL, NULL, NULL, NULL, -1);
- mime_fields = mailmime_fields_new_with_data(encoding, NULL, NULL, disposition, NULL);
+ mime_fields = mailmime_fields_new_with_data(encoding, NULL, NULL, NULL, NULL);
content = mailmime_content_new_with_str("text/html");
param = mailmime_parameter_new(strdup("charset"), strdup(DEST_CHARSET));

0 comments on commit b85d093

Please sign in to comment.
Something went wrong with that request. Please try again.