EML File help

P

pnd1234

Hi, to everyone.I am doing a maill program that analyses eml file for
its attachments. I have to parse those files and extract all the
information and even files that are attached with the eml file.I tried
to google it but there was no progress. The problem i am facing is
that i cant buy any external libraries or so. Plz help me with
following questions:
How can I convert eml file to msg file with c#
How can I extract attachment from eml file with c#
Thanks in advance.
 
J

John B

Hi, to everyone.I am doing a maill program that analyses eml file for
its attachments. I have to parse those files and extract all the
information and even files that are attached with the eml file.I tried
to google it but there was no progress. The problem i am facing is
that i cant buy any external libraries or so. Plz help me with
following questions:
How can I convert eml file to msg file with c#
How can I extract attachment from eml file with c#
Thanks in advance.
Looking at a .eml file exported from thunderbird with an attachment,
you'd have to look for the
------=_Part_3845_25192340.1209600374307
section and the
filename="filename.doc"
section
and then convert from base64 to whatever encoding the file needed to be
in and look for the matching ------=_Part_3845_25192340.1209600374307
section at the end of the data.

Why do you want to convert to .msg?

JB
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top