[Imap-uw] How to convert message in char* to BODY*?

2006-03-09 Thread Brad Goldsmith
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

Re: [Imap-uw] How to convert message in char* to BODY*?

2006-03-09 Thread Mark Crispin
The simple answer is that you place the message into a mailbox (using mail_append()), do mail_open(), and then use the various mail_fetch*() functions. The slightly more complex answer is that if you really want a string or a file that isn't a mailbox, you should write a simple driver that