Skip to content

alextretyak/eml-to-pdf-html-converter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##EML to PDF/HTML Converter

Screenshot

Screenshot

Commandline Interface

Usage: emailconverter [options] <EML-File>
  Options:
    -d, --debug
       Debug mode
       Default: false
    -dc, --disable-crashreports
       Do not send crash reports to the developer.
       Default: false
    -e, --error
       Display only Error messages.
       Default: false
    -a, --extract-attachments
       Extract Attachments.
       Default: false
    -ad, --extract-attachments-directory
       Extract Attachments to this Directory, if this option is not present the
       directory is besides the output file as "<output-filename>-attachments".
    -h, --help
       Print this help.
       Default: false
    -hh, --hide-headers
       Do not add email headers (subject, from, etc.) at the beginning of the
       PDF/HTML document.
       Default: false
    --html
       Produce HTML document instead of PDF.
       Default: false
    -o, --output-filepath
       Filepath of the produced PDF/HTML document. If this option is ommited the
       PDF/HTML will be placed alongside the EML File.
    -p, --proxy
       Proxy (e.g. "http://10.64.1.74:81"). If "auto" is supplied the default
       system proxy will be used.
    -q, --quiet
       Do not display any messages at all.
       Default: false
    -gui, --show-graphical-user-interface
       Show graphical user interface (other parameters are ignored when using
       this switch).
       Default: false
    -v, --version
       Print the version number.
       Default: false

How to build

  • gradlew shadowJar
    Creates a single self contained Jar in build/libs

  • gradlew dist
    Same as gradlew shadowJar but additionally creates windows exe launchers in build/libs for gui and console mode. This task needs the Launch4j binary in the path.

  • gradlew innosetup
    Creates a windows setup in build/innosetup. This task needs the Launch4j binary as well as the Inno Setup issc.exe in the path.

  • gradlew check
    Executes the unit tests and generates various reports (jacoco, checkstyle, findbugs, jdepend, unit test report).

License

The code available under the terms of the GNU Affero General Public License (AGPL). This means you have to release the source code of applications that use this software. If you can't do so you can buy a commercial license.

Download

A Java installation is required. If you haven't installed Java yet get it here completely free.

Win32 binaries and compiled jar for non-windows Systems (MacOs, Linux, etc) can be found in Releases section.

Note: If you have another system than Windows you need to install the free wkhtmltopdf and add it's binary to your PATH variable.

About

EML to PDF/HTML Converter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 94.0%
  • Inno Setup 2.5%
  • JavaScript 1.9%
  • HTML 1.6%