aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-09-14 00:24:14 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-09-14 00:25:03 +0800
commitb93fe51d70f19853d8d1f5a4c5e4db96ab437235 (patch)
tree254bbc94cffbcd8e9ec0d536604ccb220f3f74b6
parent5898eb218c70f911928e0336d2454ec492d117be (diff)
downloadgsoc2013-evolution-b93fe51d70f19853d8d1f5a4c5e4db96ab437235.tar.gz
gsoc2013-evolution-b93fe51d70f19853d8d1f5a4c5e4db96ab437235.tar.zst
gsoc2013-evolution-b93fe51d70f19853d8d1f5a4c5e4db96ab437235.zip
Bug 635347 - Message lacks ID when submitted for sending
-rw-r--r--composer/e-msg-composer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 22245eac5d..c41c4019b3 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1087,6 +1087,10 @@ composer_build_message (EMsgComposer *composer,
context->message = camel_mime_message_new ();
+ /* Explicitly generate a Message-ID header here so it's
+ * consistent for all outbound streams (SMTP, Fcc, etc). */
+ camel_mime_message_set_message_id (context->message, NULL);
+
build_message_headers (composer, context->message, FALSE);
for (i = 0; i < priv->extra_hdr_names->len; i++) {
camel_medium_add_header (