What is a EML file?
Files with the .EML file extension indicate the file is a formatted e-mail message. An EML file is created when an email message is saved in storage or forwarded using Outlook Express, Thunderbird, Windows Mail, or other email clients. It is also the format of a file that is created when a draft email message is saved to the hard disk.
The .eml file format is an open and published standard for exchanging email messages.
Many email clients have adopted the EML format, including as Windows Live Mail, Microsoft Outlook Express, Mozilla Thunderbird, IncrediMail and PST Viewer Pro for Windows users, and Microsoft Entourage and Apple Mail for Mac users. However, they can be opened by other applications as well. EML files are saved in the MIME RFC 822 standard format and are essentially text files, but they can also store attachments and hyperlinks which are encoded into the text of the file. When emails need to be archived, this is the type of file that is created.
The structure of an EML file includes a header and a body. The header stores information like email sender and recipient, the subject of the email, and the date and time at which it was sent. The body consists of the contents of the email.
An EML file can sometimes be opened directly in a web browser, although doing so may cause some information in the email (such as header information, To, From, Subject fields, etc) not to be visible. To do this, just rename the “.eml” extension to “.mht”. Once this is done, the .eml file can just be double-clicked to open directly in your web browser. This is possible because the format of an EML file is very much like that of MIME HTML files. You can also open the file with a text editor (such as Windows Notepad) by renaming the file extension to “.txt”, but if the file contains attachments like images or hypertext, it will be in a coded format that is not readable. There are “base64” decoder programs available that will decode the attachment text that you’ll find in the EML file and display it in it’s intended format.
If you have Outlook Express but can’t open an EML file that has been sent to you, the following steps should correct the problem.
- Open the folder “My Computer”.
- Under the “Tools” menu select the “Folder options” item.
- Select the “File Types” tab.
- You will now see “Registered file” types where you can select “EML Outlook Express Mail Message”.
- Click “Advanced”.
- Click “Open” and then “Edit”.
- Enter the following line in the “Application used to perform action” box:
“C:Program FilesOutlook ExpressMSIMN.EXE” /eml:%1
- Click OK in the following two dialog boxes and then close the window.
- You should now be able to open any EML file.
Before opening any EML file, remember to scan it with an antivirus program, as email messages can be infected with viruses. The Nimda worm creates EML files which are replicated throughout the infected system. However, even with the antivirus being active, there are some ISPs that automatically strip emails of EML attachments. If you see the message “<<MIME_ATTACHMENT_STRIPPED>>” at the end of the email, it means that there was an EML attachment that was blocked.
Unfortunately, Microsoft Outlook uses a proprietary .MSG Outlook message format which is not compatible with EML. MSG files cannot be opened by other email clients, although you can use a email viewer application like EML Viewer Pro to open .MSG files.
If you are an Outlook user, you can use the MessageExport add-in to save your Outlook email messages as EML files, as well as PDF and other formats.
We hope this article has given you an understanding of what EML files are, how to create them and how to view them.