EML File help

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • pnd1234@gmail.com

    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.
  • John B

    #2
    Re: EML File help

    pnd1234@gmail.c om 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_251 92340.120960037 4307
    section and the
    filename="filen ame.doc"
    section
    and then convert from base64 to whatever encoding the file needed to be
    in and look for the matching ------=_Part_3845_251 92340.120960037 4307
    section at the end of the data.

    Why do you want to convert to .msg?

    JB

    Comment

    Working...