Skip to content

gerco/email-to-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Docker container to convert emails to PDF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages