aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-31 10:08:48 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-31 10:08:48 +0800
commit4170492c5a86f1f2ca6a78eb7419421bd76ee6a4 (patch)
tree00ff00555c23d0bd53f91585c6e4c8c9b67b0412 /composer
parentb9acd9446511a8989a752e114e32a3494cbdc9ef (diff)
downloadgsoc2013-evolution-4170492c5a86f1f2ca6a78eb7419421bd76ee6a4.tar
gsoc2013-evolution-4170492c5a86f1f2ca6a78eb7419421bd76ee6a4.tar.gz
gsoc2013-evolution-4170492c5a86f1f2ca6a78eb7419421bd76ee6a4.tar.bz2
gsoc2013-evolution-4170492c5a86f1f2ca6a78eb7419421bd76ee6a4.tar.lz
gsoc2013-evolution-4170492c5a86f1f2ca6a78eb7419421bd76ee6a4.tar.xz
gsoc2013-evolution-4170492c5a86f1f2ca6a78eb7419421bd76ee6a4.tar.zst
gsoc2013-evolution-4170492c5a86f1f2ca6a78eb7419421bd76ee6a4.zip
Set Date: when building a CamelMimeMessage in composer.
Diffstat (limited to 'composer')
-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);