aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 43440380f1..1f12d8ece5 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -165,6 +165,9 @@ build_message (EMsgComposer *composer)
CamelMultipart *multipart = camel_multipart_new ();
CamelMimePart *part;
+ /* Generate a random boundary. */
+ camel_multipart_set_boundary (multipart, NULL);
+
part = camel_mime_part_new ();
camel_mime_part_set_content (part, text,
strlen (text), "text/html");