aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-message.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-mime-message.c')
-rw-r--r--camel/camel-mime-message.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/camel/camel-mime-message.c b/camel/camel-mime-message.c
index 5f7689eab5..c561b89fee 100644
--- a/camel/camel-mime-message.c
+++ b/camel/camel-mime-message.c
@@ -491,14 +491,21 @@ camel_mime_message_get_message_number (CamelMimeMessage *mime_message)
#define WHPTF gmime_write_header_pair_to_file
-
+static void
+_write_recipients_to_file (CamelDataWrapper *data_wrapper, FILE *file)
+{
+
+}
static void
-_write_to_file(CamelDataWrapper *data_wrapper, FILE *file)
+_write_to_file (CamelDataWrapper *data_wrapper, FILE *file)
{
CamelMimeMessage *mm = CAMEL_MIME_MESSAGE (data_wrapper);
+ WHPTF (file, "From", mm->from);
+ WHPTF (file, "Reply-To", mm->reply_to);
WHPTF (file, "Date", mm->received_date);
+ WHPTF (file, "Subject", mm->subject);
CAMEL_DATA_WRAPPER_CLASS (parent_class)->write_to_file (data_wrapper, file);
}