package
2.0.0
Repository: https://github.com/jhillyerd/enmime.git
Documentation: pkg.go.dev

# README

mime-dump

mime-dump is a utility that aids in the debugging of enmime. To use it type go build in this directory, then pass it an email to parse:

./mime-dump ../test-data/mail/html-mime-inline.raw

If all goes well, it will output a markdown formatted document describing the email...


html-mime-inline.raw

Envelope

From: James Hillyerd [email protected]
To: [email protected]
Subject: MIME test 1

Body Text

Test of text section

Body HTML

Test of HTML section

Attachment List

MIME Part Tree

multipart/alternative
|-- text/plain
`-- multipart/related
    |-- text/html
    `-- image/png, disposition: inline, filename: "favicon.png"