How to Create a .EML Email File Using Only a Text Editor

Creating a .EML (Electronic Mail) file using a text editor is easy! It involves crafting a plain text document that adheres to the MIME (Multipurpose Internet Mail Extensions) format, which is the standard for email messages. Here’s a basic guide to help you create a simple .EML file:

  1. Open a Text Editor:
    • Use a plain text editor such as Notepad (Windows), TextEdit (Mac), or any code editor of your choice.
  2. Compose the Header:
    • Begin with the email header, which includes details like sender, recipient, subject, and date. The format is key-value pairs separated by a colon.
Subject: Your Subject
Date: Wed, 20 Nov 2023 12:00:00 +0000

Note: Ensure each header line ends with a carriage return and line feed (\r\n).

Add a Blank Line:

  • Insert a blank line after the headers to separate them from the body. Line breaks are important.

Compose the Body:

  • Write the email body. You can include plain text or use HTML for formatting.
Subject: Your Subject
Date: Wed, 20 Nov 2023 12:00:00 +0000


This is the body of your email.

Best regards,
Your Name

Now you have a basic .EML file that can be opened by email clients supporting the .EML format. Your operating system may recognize it as an email file and display it with an email envelope. Clicking on the file will cause it to open in the operating system’s default email application.

Keep in mind that more complex emails with attachments or advanced formatting may require additional MIME elements.

Remember that .EML files are essentially plain text, and while you can create them manually, it’s often more convenient to use email clients or specialized tools for composing emails, especially if attachments or complex formatting are involved.

Email Viewing Software

For information on Windows software for viewing, converting and indexing email files, including EML, MSG, MBOX, OST, PST files, visit our website where you can read more and download a free trial.

How to Open EML and MSG Email Files with EML Viewer Pro

illustration of a flying email, in a hand drawn minimalistic style.

EML Viewer Pro (also known as Pst Viewer Pro) is an email viewing tool that lets you investigate MSG, and EML email files without needing an email client. MSG and EML files hold all the info about an email like who sent it, the subject, the message, and any attachments. It’s a handy tool that provides quick access to emails. Here’s how to use EML Viewer Pro to open MSG and EML files.

First off, download the free trial EML Viewer Pro and install it. Then, open it up and click on “Open” at the top left corner. This will show a file explorer window that lets you find the MSG or EML file(s) you want to open. Click “Open” once you’ve found the file. You can also select an entire folder containing thousands of EML or MSG email files, and EML Viewer Pro will read them all into the software.

Once you loaded your EML and MSG emails, they will appear in a mail list. You’ll be able to see the date they were sent, sender, recipient subject and whether there are file attachments. The main window is split into parts, with the top one showing the email header info and the bottom one showing the message body.

This is the main screen of EML Viewer Pro. Choose a folder containing EML or MSG email files, and they will be organized into a mail list. A preview of the selected email will appera on the lower right hand side.  Free 15 day trial of Eml Viewer Pro is available.
EML Viewer Pro is now known as Pst Viewer Pro.

You can go through the email message by scrolling or using the navigation buttons in the top right corner. To see any attachments, just hit the “Attachments” tab below.

If you’re looking for specific words or phrases in an email, you can use EML Viewer Pro’s email search feature. Just click on the “Search” button in the top right corner and enter what you want to find.

EML Viewer Pro is a great tool for checking out MSG and EML files. It’s super easy to use, and it’s perfect for anyone who works with email messages all the time. Download the free 15 day trial today!