aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r--mail/mail-format.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c
index 1b55640faa..8e84aa2d13 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -204,6 +204,10 @@ mail_format_raw_message (CamelMimeMessage *mime_message, MailDisplay *md)
g_return_if_fail (CAMEL_IS_MIME_MESSAGE (mime_message));
+ if (!mail_content_loaded (CAMEL_DATA_WRAPPER (mime_message), md,
+ TRUE, NULL, NULL))
+ return;
+
mail_html_write (md->html, md->stream, "<table cellspacing=0 cellpadding=10 width=\"100%%\"><tr><td><tt>\n");
text = get_data_wrapper_text (CAMEL_DATA_WRAPPER (mime_message));