aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index ee61dd1357..5c8cb768d3 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1229,6 +1229,7 @@ autosave_init_file (EMsgComposer *composer)
}
return FALSE;
}
+
static void
autosave_manager_start (AutosaveManager *am)
{
@@ -3336,6 +3337,11 @@ e_msg_composer_get_message_draft (EMsgComposer *composer)
if (account && account->name)
camel_medium_set_header (CAMEL_MEDIUM (msg), "X-Evolution-Account", account->name);
+ /* build_message() set this to text/html since we set composer->send_html to
+ TRUE before calling e_msg_composer_get_message() */
+ if (!composer->send_html)
+ camel_medium_set_header (CAMEL_MEDIUM (msg), "X-Evolution-Format", "text/plain");
+
return msg;
}