From d3c6bb3336049245dc611e11998fb53807acb77d Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sun, 12 Oct 2014 11:36:57 +0200 Subject: [PATCH] SolipaMail: encoding degli allegati per camel >= 3.8. --- src/mail.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mail.c b/src/mail.c index 1d8e787..ac66590 100644 --- a/src/mail.c +++ b/src/mail.c @@ -411,6 +411,9 @@ static CamelMimeMessage #endif part = camel_mime_part_new (); +#if defined CAMEL38 || defined CAMEL3 + camel_mime_part_set_encoding (part, CAMEL_TRANSFER_ENCODING_BASE64); +#endif camel_medium_set_content (CAMEL_MEDIUM (part), dw); g_object_unref (dw); -- 2.49.0