Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for a free .eml file viewer to just read email files and for extracting attachments.

I don't want to use Mail.app as it requires account setup - when I click on a .eml file Mail.app opens with a window for setting up an account - which I don't want to do - I never use Mail.app - I use gmail.

Is there a .eml email file viewer (including extracting attachments)?

share|improve this question
2  
Can you not set up a dummy email account in Mountain Lion's Mail.app and then untick "enable this account" like you could in Lion and earlier? – username Aug 8 '12 at 10:00
    
+1 Good point, I'll see how that goes. – therobyouknow Aug 8 '12 at 10:09

Look at the FileInfo for EML file: http://www.fileinfo.com/extension/eml. Sparrow also can open EML file, but not sure if need you to setup an account. If you just want to view the file, just use Quick Look but cannot save attachment.

share|improve this answer
    
+1 thanks @kukoo I will check it out. – therobyouknow Aug 8 '12 at 8:54
    
This looks like one of the best email clients on any platform. – therobyouknow Dec 25 '12 at 22:30

There's a free online .eml viewer you can use to extract messages and attachments from .eml, .msg and winmail.dat files: http://www.encryptomatic.com/viewer

share|improve this answer
    
I've found this to be very helpful. It's the simplest and quickest way for me to view the occasional one-off EML email without installing any software. Thank you. – nc. Aug 28 '15 at 17:08

To extract attachments from the Terminal, you can use a couple of different methods. Probably the easiest is

perl -MMIME::Base64 -ne 'print decode_base64($_)' < file.eml > out

where file.eml is the email file in question and out is the name of the attachment.

The same thing can be accomplished by using the base64 command, but you have to do some cleanup work on the original email file first -- namely strip everything out of the eml file before the base64 encoded attachment. The command would be something along these lines

base64 -D -i file.eml -o out

If you take the 2nd approach, recommend that you operate on a copy of the original file.

Of course for reading the eml files, you can probably use cat or your favorite editor. Works in a pinch, but certainly not the easiest way to deal with email.

share|improve this answer
    
Moved accepted answer to MailRaider Pro - this tool covers both requirements in an easier to use App. But thanks for your time and input - your solution is useful as well. – therobyouknow Jan 29 at 1:26
up vote 0 down vote accepted

MailRaider Pro for Mac OS X does just what I need in terms of being able to open .eml files WITHOUT the need to setup a dummy account or whatever. It just works - I can just open it. I have bought it, it works on El Capitan.

It also says it handles attachments, but I haven't tried that yet.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.