[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Munging mailboxes
From: |
Sam Roberts |
Subject: |
Re: Munging mailboxes |
Date: |
Sun, 16 Dec 2001 11:07:17 -0500 |
User-agent: |
Mutt/1.3.16i |
Hi Alain,
did you forget to commit mimetest.c? I can't find it, do I have some
kind of cvs problem?
Bon matin,
Sam
Quoting Alain Magloire <address@hidden>, who wrote:
> >
> > On Saturday 15 December 2001 23:02, Sam Roberts wrote:
> > > Bonjour,
> > >
> > > Quoting Michael Schuerig <address@hidden>, who wrote:
> > > > I'm interested in mailutils mostly for its mailbox/folder handling
> > > > capabilities. Tasks I'd like to use it for are similar to this:
> > > > Extract attachments from each message in a folder; save it to a
> > > > file in some given directory; replace the attachment part of the
> > > > original message with a link to the saved file.
> > >
> > > mailutils hasn't been used for this kind of thing a lot, AFAIK, so
> > > the APIs aren't always there, or publically exposed, or documented.
> >
> > Hm, I think, then, a good strategy for me is to just wait. I don't want
>
> 8-)
> The project is still work in progress, and making good progress.
>
> > to go into mailutils core development, and fortunately I'm not in a
> > hurry doing the mailbox stuff.
>
> For what is worth, I've commited in mailutils/examples/mimetest.c
> an example to do the kind of stuff you want.
> The example(mimetest) will print out the entire mailbox, indenting
> the subparts of messages, with some headers. If there is an attachment
> it will save it in the current director, if there is no name for
> the attachment it will create a temporary file "msg-xxx".
>
> Credits should go to Dave Inglis, he wrote the orignal code
> with the mime parsing stuff.
--
Sam Roberts <address@hidden> (Vivez sans temps mort!)
Re: Munging mailboxes, Sam Roberts, 2001/12/16