Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 can be a bit more specific to get a better understanding of what I need. I am scanning an Exchange mailbox and saving out the eml files from the following property: Microsoft.Exchange.WebServices.Data.EmailMessage.MimeContent.Content.

Once I have an eml file I want to know if there is a standard way it is formatted. That's pretty much it. I asked about an RFC because I figured the standard would be explained in an RFC.

like image 296
myermian Avatar asked Nov 05 '12 21:11

myermian


People also ask

What is the RFC standard for email?

RFC 5321 — Simple Mail Transfer Protocol. This is a protocol used to send emails between computers. This was previously RFC 821 and RFC 2821.

What format is EML file?

EML, short for electronic mail or email, is a file extension for an email message saved to a file in the Internet Message Format protocol for electronic mail messages. It is the standard format used by Microsoft Outlook Express as well as some other email programs.

What RFC 822?

The Internet RFC 822 specification defines an electronic message format consisting of header fields and an optional message body. The header fields contain information about the message, such as the sender, the recipient, and the subject.

What is use of RFC 2822?

RFC 2822: An Internet Message Format used to uniformly represent date and time, including in HTTP and email headers. RFC 2822 includes the shortened day of week, numerical date, three-letter month abbreviation, year, time and time zone, displaying as 01 Jun 2016 14:31:46 -0700.


2 Answers

.eml files are usually stored in rfc822 format

but afaik, there is no official definition

like image 97
Gryphius Avatar answered Sep 19 '22 21:09

Gryphius


This one expands on rfc822 and covers MIME entities and other content:

https://www.ietf.org/rfc/rfc1521.txt

like image 36
Annihilannic Avatar answered Sep 23 '22 21:09

Annihilannic