aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/e-mail-request.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/e-mail-request.c b/mail/e-mail-request.c
index 34f1845a3c..12c322c942 100644
--- a/mail/e-mail-request.c
+++ b/mail/e-mail-request.c
@@ -83,6 +83,8 @@ handle_mail_request (GSimpleAsyncResult *res,
g_free (part_id);
} else {
+ if (info.mode == 0)
+ info.mode = EM_FORMAT_WRITE_MODE_NORMAL;
em_format_write (emf, request->priv->output_stream, &info, NULL);
}