=encoding utf8 =head1 NAME email-print-mime-structure - display a tree-like view of the MIME structure of an e-mail =head1 SYNOPSIS B =head1 DESCRIPTION B reads a MIME message from stdin and produces a treelike representation to stdout. If the user wants the parts numbered, they can feed the output through something like "cat -n". =head1 OPTIONS =over 4 =item B<--pgpkey=>I I should name an OpenPGP transferable secret key that is not password-protected. If a PGP/MIME-encrypted message is found on standard input, this key will be tried for decryption. May be used multiple times if you want to try decrypting with more than one secret key. =item B<--help>, B<-h> Show usage instructions. =back =head1 EXAMPLE =over 4 $ email-print-mime-structure only decrypts encrypted e-mails using raw, non-password-protected OpenPGP secret keys (see B<--pgpkey>, above). If it is unable to decrypt an encrypted part with the supplied keys, it will warn on stderr. B's output is not stable, and is not intended to be interpreted by machines, so please do not depend on it in scripts! B displays some data from within the e-mail, but does not sanitize it before display. Some particularly cleverly-malformed MIME parameters might be able to induce apparent formatting changes or emit arbitrary characters to stdout. B expects to be run in a UTF-8-friendly environment. =head1 SEE ALSO https://tools.ietf.org/html/rfc2045, https://tools.ietf.org/html/rfc2049 =head1 AUTHOR B and this manpage were written by Daniel Kahn Gillmor and Jameson Graef Rollins, with suggestions and feedback from many others in the community that develops the notmuch mail user agent. It originated in the notmuch source tree.