aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-09-14 00:24:14 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-09-14 20:09:05 +0800
commit2e3eebf3ba6081626e8996ff3866eb8b46c4c8e1 (patch)
tree3d6748138e8b37281e3e378b98982c9c379d832d /composer
parentbf6623b6aa596ec7d10abbe627a3a06047f26244 (diff)
downloadgsoc2013-evolution-2e3eebf3ba6081626e8996ff3866eb8b46c4c8e1.tar.gz
gsoc2013-evolution-2e3eebf3ba6081626e8996ff3866eb8b46c4c8e1.tar.zst
gsoc2013-evolution-2e3eebf3ba6081626e8996ff3866eb8b46c4c8e1.zip
Bug 635347 - Message lacks ID when submitted for sending
Diffstat (limited to 'composer')
-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 (