Convert TXT to EML

Turn TXT files into EML. A draft email marked unsent, so Outlook opens it ready to edit and send, with the text as the plain body and as HTML that keeps every line break and leading indentation, in UTF-8 and with no sender or date until it is sent.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop TXT files on the dialor turn it to pick what to do

A text file turned into an email.The subject and recipients come from the top of your text.

  1. What you get

    One EML file, a single email with headers and a body. The text of your TXT file becomes the message.

  2. Subject and recipients

    The subject is taken from a YAML block at the top of the file, using subject or title. If there is no block, the first line becomes the subject when a blank line follows it.

    The same YAML block fills in the recipients. Use to and cc, each with one address or a list of addresses.

TXT and EML.What each format is.

The formats

From · TXT

Plain Text

Plain text with no formatting at all. The smallest, most portable form of a document.

Extensions
.txt .log
MIME type
text/plain
Kind
Text and data
To · EML

Email Message

A single email as sent over the wire. Headers, body and MIME attachments.

Extensions
.eml
MIME type
message/rfc822
Kind
Email

In your code.The same TXT to EML conversion through the API, for your app or your agent.

terminal
$ cv convert report.txt report.eml
$ cv convert report.txt report.eml

Questions.What people ask about TXT to EML.

01OF 03

Put subject or title in a YAML block at the top of the file. Without a block, write the subject as the first line and leave a blank line after it.

Add to and cc in the YAML block at the top. Each takes one address or a list.

Yes. EML to TXT goes the other way.

More conversions.Other ways in and out of TXT and EML.