Filename extension used by many email clients including Microsoft Outlook Express, Windows Mail and Mozilla Thunderbird. The files are plain text in MIME format, containing the email header as well as the message contents and attachments in one or more of several formats.
Questions tagged [eml]
241 questions
99
votes
6 answers
How to save MailMessage object to disk as *.eml or *.msg file
How do I save MailMessage object to the disk? The MailMessage object does not expose any Save() methods.
I dont have a problem if it saves in any format, *.eml or *.msg. Any idea how to do this?

ashwnacharya
- 14,601
- 23
- 89
- 112
48
votes
8 answers
Recommendations on parsing .eml files in C#
I have a directory of .eml files that contain email conversations. Is there a recommended approach in C# of parsing files of this type?

adeel825
- 5,677
- 12
- 40
- 44
24
votes
5 answers
Create a .eml (email) file in Java
Anybody knows how to do this? I got all the information of the email (body, subject, from , to, cc, bcc) and need to generate an .eml file out of it.

Jan Gressmann
- 5,481
- 4
- 32
- 26
22
votes
6 answers
How to read eml file in python?
I do not known how to load a eml file in python 3.4.
I want to list all and read all of them in python.

Bảo Nguyễn
- 285
- 1
- 2
- 5
17
votes
3 answers
Is there an RFC on EML file formats?
Basically, I'm attempting to work with EML files and I want to know if these files are pretty standard across different email servers... basically, is there an RFC on EML files just like there is one for email addresses and other topics?
I guess I…

myermian
- 31,823
- 24
- 123
- 215
16
votes
3 answers
Open .eml files in compose mode in outlook 2010
I want my users to be able to open eml files in compose mode in outlook 2010, by default it opens in readonly mode. Is there any way out?
Use: We generate email templates which the users can download and customize it before sending.

Pramod Pallath Vasudevan
- 809
- 11
- 23
13
votes
4 answers
Parsing .msg files in JavaScript
Does anybody know of any JavaScript libraries that will read/parse a microsoft .msg file. I am writing a system that requires a viewer to dispay .msg files that have been stored on a server. I will probably also have to do .eml in the future too. I…

Wongadob
- 141
- 1
- 1
- 4
12
votes
7 answers
Send eml files saved on disk
I am creating eml's and saving them to a directory using procedure mentioned over here.
I want to know how to send these eml files?
I tried using SMTPClient class's object but it takes MailMessage object as its parameter and I couldn't find and way…

UJ.
- 337
- 2
- 4
- 15
10
votes
1 answer
Reading .eml files with Python 3.6 using emaildata 0.3.4
I am using python 3.6.1 and I want to read in email files (.eml) for processing. I am using the emaildata 0.3.4 package, however whenever I try to import the Text class as in the documentation, I get the module errors:
import email
from email.text…

PyRsquared
- 6,970
- 11
- 50
- 86
8
votes
3 answers
PHP library to generate EML email files?
I'm trying to generate EML files from PHP. Is there any library that will allow me to easily create them? I could find some ActiveX component on the internet but would rather use something more portable.

laurent
- 88,262
- 77
- 290
- 428
8
votes
3 answers
Create an email object in java and save it to file
i need to backup the emails contained in a PST file (outlook storage).
i'm using libpst which is the only free library i found on the web
( http://code.google.com/p/java-libpst/ )
so i can access all the information in each single email
(subject,…

Pronte
- 256
- 1
- 3
- 8
7
votes
1 answer
Opening and viewing Eml files in Html
I am trying to create a JS script to open and view Eml file. But till now I am stuck and with no way to go further. Can someone give me some directions. I was planning to post back my findings here with code so others can benefit too.

esafwan
- 17,311
- 33
- 107
- 166
7
votes
3 answers
open new Outlook from website, too long mailTo Link, *.eml file bcc field not loaded
I'm trying to open a *.eml file with Microsoft Outlook 2010 and got problems with the bcc field.
Here is my eml file:
To: example@domain.com
Subject: Mail Subject
cc: cc@domain.com
bcc: bcc@domain.com
Content-Type: text/plain
MIME-Version:…

JaGo
- 172
- 1
- 9
6
votes
5 answers
How to open .eml files using Outlook MAPI in C#?
I have a C# application that reads .msg files and extracts the body and the attachments. But when I try to load a .eml file the application crashes. I am loading the files like this:
MailItem mailItem =…

CubaLibre
- 375
- 1
- 2
- 14
6
votes
6 answers
Send Mail from raw body for testing purposes
I am developing a PHP application that needs to retrieve arbitrary emails from an email server. Then, the message is completely parsed and stored in a database.
Of course, I have to do a lot of tests as this task is not really trivial with all that…

hbit
- 959
- 2
- 13
- 33