From: Andrea Zagli Date: Sun, 12 Oct 2014 09:36:57 +0000 (+0200) Subject: SolipaMail: encoding degli allegati per camel >= 3.8. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=d3c6bb3336049245dc611e11998fb53807acb77d;p=solipa%2Flibsolipa SolipaMail: encoding degli allegati per camel >= 3.8. --- 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);