为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to convert SAVED .eml file to .pdf?

  • 6 个回答
  • 3 人有此问题
  • 1 次查看
  • 最后回复者为 Staticide

more options

How do I convert a SAVED .eml Thunderbird file to .pdf? I know I can directly print a Thunderbird email to pdf (or even print it on paper). But once I save the T-Bird email to an .eml file somewhere else on my computer, it is no longer possible to turn it into a .pdf file. I can view it again in what appears to be it’s original email form, but attempting to preview it or print it just turns up a mostly blank page with “about:blank” at the top and the date and time at the bottom. No message between top and bottom. I guess I don't understand how I can see what appears to be the original email, but the ink or .pdf printer can't see it.

I'm using Ubuntu 14.04 and the pdf printer is installed--I use it all the time on other kinds of files to save them (and paper). My T-Bird version is 45.5.1 and is due for a security update soon.

How do I convert a SAVED .eml Thunderbird file to .pdf? I know I can directly print a Thunderbird email to pdf (or even print it on paper). But once I save the T-Bird email to an .eml file somewhere else on my computer, it is no longer possible to turn it into a .pdf file. I can view it again in what appears to be it’s original email form, but attempting to preview it or print it just turns up a mostly blank page with “about:blank” at the top and the date and time at the bottom. No message between top and bottom. I guess I don't understand how I can see what appears to be the original email, but the ink or .pdf printer can't see it. I'm using Ubuntu 14.04 and the pdf printer is installed--I use it all the time on other kinds of files to save them (and paper). My T-Bird version is 45.5.1 and is due for a security update soon.

被采纳的解决方案

After some further research: the best workaround for this issue for me (using Ubuntu 14.04 and Thunderbird 45.5.1) seems to be to simply open the .eml file with Libre Office Writer and then print with CUPS-pdf printer. I also found that opening with a text editor like Gedit (native to Ubuntu) or Notepad worked pretty much the same. I can also open the .eml file in Thunderbird and then go to “Message” on the toolbar and then “Edit As New Message” to get the email, but when I print it, I only get the body of the message and nothing else (like From: To: Subject, Time etc).

More study revealed that Thunderbird messages saved as .eml files are actually MHTML format (short for MIME HTML). To then convert them to .pdf one needs a printer that is capable of doing that. Apparently there is a shareware pdf printer called “novapdf” that will create .pdf from MHTML in various versions of Windows, but not in Linux distros. Trying to find the Linux equivalent of “novapdf” might be an exercise in futility. For me, the workaround above will be just fine and equals SOLVED.

定位到答案原位置 👍 0

所有回复 (6)

more options

I suspect this is an issue with Thunderbird's printing. I occasionally see the same when printing HTML formatted messages; an empty page with "about:blank" and other bits of headers and footers. I think the fact that it shows up with PDF is a bit of a red herring.

If I am desperate to print it (which is quite rare) then I'd copy'n'paste the content to Word and print from there. Or yank out the HTML code into its own new HTML document and then view and print it in my browser.

But I haven't yet been able to identify any particular feature of these messages so can't reproduce it at will to raise a bug report.

more options

A thought. There is a "hidden feature" in Thunderbird in that if you select part of the text of a message then print, it prints only the selected part. I wonder if you were to select the whole message (ctrl+a) before printing this might provoke it into working correctly?

more options

Thanks, Zenos. Both of your replies give me food for thought and some focus on where to do a little experimenting. After that, I'll post what I learned, if anything. I don't want to say it's solved until I dig a little deeper.

more options

选择的解决方案

After some further research: the best workaround for this issue for me (using Ubuntu 14.04 and Thunderbird 45.5.1) seems to be to simply open the .eml file with Libre Office Writer and then print with CUPS-pdf printer. I also found that opening with a text editor like Gedit (native to Ubuntu) or Notepad worked pretty much the same. I can also open the .eml file in Thunderbird and then go to “Message” on the toolbar and then “Edit As New Message” to get the email, but when I print it, I only get the body of the message and nothing else (like From: To: Subject, Time etc).

More study revealed that Thunderbird messages saved as .eml files are actually MHTML format (short for MIME HTML). To then convert them to .pdf one needs a printer that is capable of doing that. Apparently there is a shareware pdf printer called “novapdf” that will create .pdf from MHTML in various versions of Windows, but not in Linux distros. Trying to find the Linux equivalent of “novapdf” might be an exercise in futility. For me, the workaround above will be just fine and equals SOLVED.

more options

If you are looking to convert .eml to .pdf format than you need to prefer a third party tool EML to PDF Converter which can efficiently export EML data into PDF format without any error. For More Info: -

由James于修改

more options

Jon, While Zook eml converter may be a worthy product and worth $149 to a company or $49 to a home Windows user, it really doesn't fit into the spirit of Linux open-source software. (Notice that my problem involves Thunderbird on Ubuntu.) My solution posted above works fine and is $49 cheaper. But it's probably good that you offered a link to it and let users decide if the cost is worth it for their uses.

由Staticide于修改