From 5b4d565134761ecfe17b56145d5634640cbe7bc3 Mon Sep 17 00:00:00 2001 From: Philip Van Hoof Date: Sun, 3 Feb 2008 11:16:26 +0000 Subject: [PATCH] Added tny_mime_part_set_transfer_encoding usage when forwarding pmo-trunk-r4132 --- src/modest-tny-msg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modest-tny-msg.c b/src/modest-tny-msg.c index 9fa15a1..6133225 100644 --- a/src/modest-tny-msg.c +++ b/src/modest-tny-msg.c @@ -305,6 +305,7 @@ add_attachments (TnyMimePart *part, GList *attachments_list, gboolean add_inline attachment_part = copy_mime_part (old_attachment); tny_mime_part_set_header_pair (attachment_part, "Content-Disposition", add_inline?"inline":"attachment"); + tny_mime_part_set_transfer_encoding (TNY_MIME_PART (part), "base64"); tny_mime_part_add_part (TNY_MIME_PART (part), attachment_part); if (old_cid) tny_mime_part_set_content_id (attachment_part, old_cid); -- 1.7.9.5