[evolution] Bug 635347 - Message lacks ID when submitted for sending
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 635347 - Message lacks ID when submitted for sending
- Date: Tue, 13 Sep 2011 16:25:09 +0000 (UTC)
commit b93fe51d70f19853d8d1f5a4c5e4db96ab437235
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Sep 13 12:24:14 2011 -0400
Bug 635347 - Message lacks ID when submitted for sending
composer/e-msg-composer.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 22245ea..c41c401 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 (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]