H_CONTENT_TYPE = 9,
H_SEEN = 10,
H_X_FACE = 11,
- H_DISPOSITION_NOTIFICATION_TO = 12
+ H_DISPOSITION_NOTIFICATION_TO = 12,
+ H_RETURN_RECEIPT_TO = 13
};
MsgInfo *procheader_parse(const gchar *file, MsgFlags flags, gboolean full)
{"Content-Type:", NULL, FALSE},
{"Seen:", NULL, FALSE},
{"X-Face:", NULL, FALSE},
- {"Disposition-Notification-To:",NULL, FALSE},
+ {"Disposition-Notification-To:", NULL, FALSE},
+ {"Return-Receipt-To:", NULL, FALSE},
{NULL, NULL, FALSE}};
static HeaderEntry hentry_short[] = {{"Date:", NULL, FALSE},
break;
case H_REFERENCES:
if (!reference) {
+ msginfo->references = g_strdup(hp);
eliminate_parenthesis(hp, '(', ')');
if ((p = strrchr(hp, '<')) != NULL &&
strchr(p + 1, '>') != NULL) {
if (msginfo->dispositionnotificationto) break;
msginfo->dispositionnotificationto = g_strdup(hp);
break;
+ case H_RETURN_RECEIPT_TO:
+ if (msginfo->returnreceiptto) break;
+ msginfo->returnreceiptto = g_strdup(hp);
+ break;
default:
}
}