Message parsing

Yiorgos Adamopoulos <[email protected]> Tue, 30 Nov 2010 14:36:40 +0200
Newsgroups gmane.mail.imap.uw.c-client
Message-ID <[email protected]>
Hi all-

Assuming one has a complete message (header and body) in a string
(char *) and not in a file (that would allow one to read it from a
MAILSTREAM) how can one use mail_fetchenvelope() and other parsing
functions?  I thought of writing the string in a temporary mbox file
and then opening a stream, but it seems like an overkill.

Thanks in advance.