[evolution] Set Date: when building a CamelMimeMessage in composer.



commit 4170492c5a86f1f2ca6a78eb7419421bd76ee6a4
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Oct 30 22:08:48 2010 -0400

    Set Date: when building a CamelMimeMessage in composer.

 composer/e-msg-composer.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index faa99ac..6c6cd84 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -560,6 +560,9 @@ build_message_headers (EMsgComposer *composer,
 		e_destination_freev (bcc);
 	}
 
+	/* Date: */
+	camel_mime_message_set_date (message, CAMEL_MESSAGE_DATE_CURRENT, 0);
+
 	/* X-Evolution-PostTo: */
 	header = e_composer_header_table_get_header (
 		table, E_COMPOSER_HEADER_POST_TO);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]