On Mon, 12 Nov 2012, Jens-Uwe Mager wrote:
> I have the need to read a unix style mbox file containing a lot of email
> messages and process each of those. Unfortunately a lot of these messages
> have rather arcane MIME content types and quite a few even use
> quoted-printable as encoding. Is there any library out there that would
> help parsing such a mail box?
Many moons ago, I wrote a simple mail archive -> html converter that also had
to do this. The relevant github repos are github.com/bytbox/go-mail and
github.com/bytbox/sloc. IIRC, quoted-printable was handled correctly. I don't
handle fancy mime stuff in the headers, though. It might be a good starting
place for you.