Dear List,

Is there was way of taking a mail message, stored in a string or a file on disk, and preparing it so it can be used with functions for manipulating mime messages.

I assume that I would need to start with something like |*mail_newbody |and then work from there. I was wondering if anyone could point me in the right direction to the other functions that will be needed to correctly fill out a BODY structure from a message in a string, not from a mailbox.

It looks like rfc822_parse_msg(ENVELOPE **en, BODY **bdy, char *s, unsigned long i, STRING *b, char *host, char *tmp) will fit the bill but I am unsure on how the headers and body strings need to be broken up.

If anyone could offer any advice I would be grateful.

Cheers,
Brad
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to