471,348 Members | 1,325 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,348 software developers and data experts.

EML File help

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.
Jun 27 '08 #1
1 3713
pn*****@gmail.com wrote:
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
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Hans-Joachim Widmaier | last post: by
4 posts views Thread by dixie | last post: by
1 post views Thread by Tim Marshall | last post: by
6 posts views Thread by Sushil Prasad | last post: by
2 posts views Thread by quicklearner | last post: by
2 posts views Thread by avanti | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.