Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a directory with hundreds of emails downloaded from my email service provider as eml files and I need them converted as pdf files.
How can I do that programmatically?
Or
Is there a way to use the browser to download a whole directory of emails as pdf files rather than one at a time?
It seems I can use Thunderbird but having Debian 9 as my OS, I have to install a newer OS version to install Thunderbird which I am in the process of doing.
I also had installed Evolution but have not found if there is a way to use it to accomplish that objective.
I have a directory with hundreds of emails downloaded from my email service provider as eml files and I need them converted as pdf files.
How can I do that programmatically? Or Is there a way to use the browser to download a whole directory of emails as pdf files rather than one at a time?
It seems I can use Thunderbird but having Debian 9 as my OS, I have to install a newer OS version to install Thunderbird which I am in the process of doing.
I also had installed Evolution but have not found if there is a way to use it to accomplish that objective.
Several ways, including just using Thunderbird to do it:
<Assumes you already have Thunderbird installed and the files are already .eml in Thunderbird>
Right-click on the folders containing EML email messages.
Select the import/export tool and then "Export all Messages in the folder".
In the export options use PDF as the destination type, and the folder to save them.
I have once programmed a tool for eml2pdf conversions which is even largely configurable. In the meantime, I prefer to use it on the command-line, but a Gtk-GUI is still available. Screen Shot from this morning.
Each of the mails in each of the selected (and active) eml-fils will result in 1 PDF, mail-attachments can be stored as PDF-attachment or be linked.., etc.
Unfortunately, though, my last programming language (in this life) is Ruby. A Ruby-interpreter must be installed:
To convert EML files to PDF files, you can follow these steps:
Post edited out to provide clarity hopefully
Acrobat hasn't been supported on Linux for more than ten years now. Mentioning Windows utilities that you have to pay for on a Linux forum is fairly pointless. Did you read any of the previous answers that actually DO work on Linux, for free???
If you are looking for a solution to convert EML files to PDF format then try linux
By following above steps, you can easily convert EML files to PDF format.
If you are looking for a solution to convert EML files to PDF format then try <MY SPAM SOFTWARE> EML to PDF Converter tool on your system. With this software, you can export EML files to PDF in a few seconds. The software can convert multiple EML files to PDF at once. It preserves 100% data integrity and folder hierarchy during EML to PDF conversion. You can download its free demo version and convert EML files to PDF in a few simple clicks.
1. Run this software on your system.
2. Add EML files into software.
3. Choose PDF as saving options.
4. Browse target location and then press Convert button.
By following above steps, you can easily convert EML files to PDF format.
So, to summarize, if you want to do it automatically, think about using Python. If you're looking for a browser-based way, see what options your email service gives you or wait until you can use Thunderbird or something similar.
So, to summarize, think about any full-blown programming language or other tool.
To change a bunch of EML files into PDFs automatically, you can use different tools and libraries made for this job. One common way is by using Python along with libraries like email.parser to understand EML files and ReportLab to create PDFs. You write a script that goes through each EML file in the folder, reads its content, and then makes a matching PDF file.
If you want to download a whole bunch of emails as PDFs using a browser, it depends on what your email service lets you do. Some services allow you to download many emails at once, or they work with other tools that can do this. If your service doesn't have this option, you might need to use email programs like Thunderbird or Evolution, which are better at handling lots of emails and can export them as PDFs.
Since you're getting ready to install Thunderbird, you could try using it once it's set up because it has an easy way to save emails as PDFs. With Evolution, it's mainly an email program, so it might not have a built-in way to ***VISIT MY SPAM LINK*** convert EML to PDF in bulk at once. But you could check if there are add-ons or extras that can help with this.
So, to summarize, if you want to do it automatically, think about using Python. If you're looking for a browser-based way, see what options your email service gives you or wait until you can use Thunderbird or something similar.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.