為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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 於 修改