aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-31 10:08:48 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2010-11-10 06:33:19 +0800
commit20651e4f0970fb49d522bd8c49949d84f116560a (patch)
tree14415986a9a916b8daa266f804c7d47a98b41af7 /composer/e-msg-composer.c
parent2084cccbe5a964ca8f504512a6e402f4ea5fee39 (diff)
downloadgsoc2013-evolution-20651e4f0970fb49d522bd8c49949d84f116560a.tar.gz
gsoc2013-evolution-20651e4f0970fb49d522bd8c49949d84f116560a.tar.zst
gsoc2013-evolution-20651e4f0970fb49d522bd8c49949d84f116560a.zip
Set Date: when building a CamelMimeMessage in composer.
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index faa99acf1d..6c6cd84190 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);