Extract images from EML file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alieseraj
    New Member
    • Dec 2009
    • 2

    Extract images from EML file

    Hi, I need to extract the images (attached) of a .EML file.
    Any help or ideas?
    Thanks in advance.
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    What have you tried/done/coded so far?
    What error(s)/exception(s)/problem(s) is your current code causing?
    Can you provide the relevant code segment that is causing the error?

    Comment

    • alieseraj
      New Member
      • Dec 2009
      • 2

      #3
      Thank you for your response.
      I've just started coding about it, and I don't know what to do.
      In the .eml file, every image starts with something like this:

      ------=_NextPart_000_ 0007_01CA895C.4 C470600
      Content-Type: image/jpeg;
      name="DSC01239. JPG"
      Content-Transfer-Encoding: base64
      Content-ID: <912274BE93B845 9DA75F26BB926A0 4BC@SadenPC>

      OR

      ------=_NextPart_000_ 001F_01CA0C4A.C F6F6DE0
      Content-Type: image/jpeg;
      name="image.jpg "
      Content-Transfer-Encoding: base64
      Content-Disposition: attachment;
      filename="image .jpg"

      Comment

      Working...