Sign inSign up

gerco/email-to-pdf

By gerco

Updated over 8 years ago

Convert emails to PDF

Image
0

518

gerco/email-to-pdf repository overview

email-to-pdf

Docker container to convert emails to PDF

How?

This container first converts the file specified on the command line (expected to be located in /vol/) to HTML using MhonArc and then converts the HTML file to PDF using wkhtmltopdf. The resulting PDF file is streamed to stdout to prevent the container from needed any permissions on the host/volume file system other than to read the input file.

Usage

docker run --rm -v `pwd`:/vol gerco/email-to-pdf input.eml > output.pdf

Tag summary

Content type

Image

Digest

sha256:58cd5cf20

Size

148.1 MB

Last updated

over 8 years ago

docker pull gerco/email-to-pdf