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.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/camel/camel-mime-message.c b/camel/camel-mime-message.c
index 3383e51ba0..f4f85f22d9 100644
--- a/camel/camel-mime-message.c
+++ b/camel/camel-mime-message.c
@@ -56,23 +56,27 @@ typedef enum {
HEADER_REPLY_TO,
HEADER_SUBJECT,
HEADER_TO,
+ HEADER_RESENT_TO,
HEADER_CC,
+ HEADER_RESENT_CC,
HEADER_BCC,
+ HEADER_RESENT_BCC,
HEADER_DATE,
HEADER_MESSAGE_ID
} CamelHeaderType;
static char *header_names[] = {
/* dont include HEADER_UNKNOWN string */
- "From", "Reply-To", "Subject", "To", "Cc", "Bcc", "Date", "Message-Id", NULL
+ "From", "Reply-To", "Subject", "To", "Resent-To", "Cc", "Resent-Cc",
+ "Bcc", "Resent-Bcc", "Date", "Message-Id", NULL
};
static GHashTable *header_name_table;
-static CamelMimePartClass *parent_class=NULL;
+static CamelMimePartClass *parent_class = NULL;
static char *recipient_names[] = {
- "To", "Cc", "Bcc", NULL
+ "To", "Cc", "Bcc", "Resent-To", "Resent-Cc", "Resent-Bcc", NULL
};
static int write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream);
@@ -555,6 +559,9 @@ process_header (CamelMedium *medium, const char *header_name, const char *header
case HEADER_TO:
case HEADER_CC:
case HEADER_BCC:
+ case HEADER_RESENT_TO:
+ case HEADER_RESENT_CC:
+ case HEADER_RESENT_BCC:
addr = g_hash_table_lookup (message->recipients, header_name);
if (header_value)
camel_address_decode (CAMEL_ADDRESS (addr), header_value);