On Thu, Nov 19, 2020 at 10:40:43AM +1100, Cameron Simpson <c...@cskk.id.au> wrote:
> On 18Nov2020 12:08, Olli Savolainen <o...@savolai.net> wrote: > >> You could for this: > >> - save all the messages to a local filesystem maildir folder > >> - write a short shell loop to run mutt -H for each message file in the > >> maildir > > > >Thanks! This is what I was looking for. Couldn’t find any documentation > >on what the file format is but now I know. I suppose this could be > >mentioned on the man page. > > The man page says: > > ‐H draft Specify a draft file which contains header and body > to use to send a message. > > Aside from saying that the message includes headers, what else would you > like it to have said? To me that says "a full message with headers". I'm > not sure what else would be useful to know. > > Cheers, > Cameron Simpson <c...@cskk.id.au> Just a thought: if it needs to have a From_ mbox message header (or if it needs to not have that), it might be worth mentioning. Even if the mbox message header is optional, it might be worth mentioning that it's optional. And I think there are several variations on the mbox file format (maybe 5?). Which ones, if any, are supported? Nothing's ever obvious or trivial, especially when it comes to email. :-) cheers, raf