https://github.com/andyj/eml2pdf
Convert .eml files to basic PDF
https://github.com/andyj/eml2pdf
Last synced: 4 months ago
JSON representation
Convert .eml files to basic PDF
- Host: GitHub
- URL: https://github.com/andyj/eml2pdf
- Owner: andyj
- License: gpl-3.0
- Created: 2022-10-05T15:32:37.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-05T20:07:55.000Z (over 3 years ago)
- Last Synced: 2025-08-02T10:04:16.067Z (10 months ago)
- Language: ColdFusion
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eml2pdf
Convert .eml files to basic PDF
It's not fancy, its not Javascript, but it generates a PDF from an .eml file in 40 lines of code.
## Requirements
1. You'll need [CommandBox](https://commandbox.ortusbooks.com/setup/installation) installed. If you're on a Mac you can use `brew install commandbox`
2. Clone this repos `https://github.com/andyj/eml2pdf.git`
## Running
1. Place your .eml files in the /eml folder
2. Run `box convert.cfm`.
3. When finished you it should report how many files were processed e.g. *Total Processed: XX*
4. Check `/outputpdf/` for your PDF files
5. Check `eml/` is empty, and the files moved to `/processed/`
## Folder structure
```
/eml2pdf
+ /eml/ - Where you'll place your .eml file
+ /outputpdf/ - Generated PDF files
+ /processed/ - This is where the .eml files are moved to once processed
```