From b93fe51d70f19853d8d1f5a4c5e4db96ab437235 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 13 Sep 2011 12:24:14 -0400 Subject: Bug 635347 - Message lacks ID when submitted for sending --- composer/e-msg-composer.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'composer') 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 ( -- cgit v1.2.3