| 1 | mime-dump |
| 2 | ========= |
| 3 | |
| 4 | mime-dump is a utility that aids in the debugging of enmime. To use it type |
| 5 | `go build` in this directory, then pass it an email to parse: |
| 6 | |
| 7 | ./mime-dump ../test-data/mail/html-mime-inline.raw |
| 8 | |
| 9 | If all goes well, it will output a markdown formatted document describing the |
| 10 | email... |
| 11 | |
| 12 | ---- |
| 13 | |
| 14 | html-mime-inline.raw |
| 15 | ==================== |
| 16 | |
| 17 | Envelope |
| 18 | -------- |
| 19 | From: James Hillyerd <[email protected]> |
| 20 | To: [email protected] |
| 21 | Subject: MIME test 1 |
| 22 | |
| 23 | Body Text |
| 24 | --------- |
| 25 | Test of text section |
| 26 | |
| 27 | Body HTML |
| 28 | --------- |
| 29 | Test of HTML section |
| 30 | |
| 31 | Attachment List |
| 32 | --------------- |
| 33 | |
| 34 | MIME Part Tree |
| 35 | -------------- |
| 36 | multipart/alternative |
| 37 | |-- text/plain |
| 38 | `-- multipart/related |
| 39 | |-- text/html |
| 40 | `-- image/png, disposition: inline, filename: "favicon.png" |