Paul, How does GMime handle headers with multiple values? Received, for example, typically has 3-5 header-value pairs in a given message. But the GMime function we're using returns only a single char *
gchar * dbmail_message_get_header( const struct DbmailMessage *self, const char *header) { return (gchar*)g_mime_object_get_header( GMIME_OBJECT(self->content), header); } Reason I'm asking is that the same getheader function in libSieve's internal header parser returns a char **, one for each instance. Aaron