diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-01-29 12:38:08 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-01-29 12:38:08 +0800 |
commit | db1b88fe30fa793d8faba33bb6cecbeb4ccdcdaf (patch) | |
tree | 9bdc7466432b96d7b9366763b1d7050342365239 /camel/camel-mime-message.c | |
parent | 4ca7653f2c974f3e0aa773c0c030a6821f74d7c8 (diff) | |
download | gsoc2013-evolution-db1b88fe30fa793d8faba33bb6cecbeb4ccdcdaf.tar.gz gsoc2013-evolution-db1b88fe30fa793d8faba33bb6cecbeb4ccdcdaf.tar.zst gsoc2013-evolution-db1b88fe30fa793d8faba33bb6cecbeb4ccdcdaf.zip |
Handle Resent headers too.
2002-01-28 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-message.c (process_header): Handle Resent headers
too.
* camel-mime-message.h: Added Resent-* #defines.
svn path=/trunk/; revision=15504
Diffstat (limited to 'camel/camel-mime-message.c')
-rw-r--r-- | camel/camel-mime-message.c | 13 |
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); |