Results 1 to 2 of 2

Thread: Decoding email inlined image name and filetype

  1. #1
    Join Date
    Jul 2010

    Decoding email inlined image name and filetype


    I was just about being done with a class that fetches emails from my Gmail account, until this showed up:

    HTML Code:
    <img src="cid:ii_13a30f914dff78c5" alt="Billede indsat i tekst 1">
    I know the image is called "image.png" because it's the only one, but how do I decode the path/filename from "cid:ii_13a30f914dff78c5" ?

    I'm full of hope

  2. #2
    It's an unusual problem but a frustrating one. A client had sent us some emails from an Outlook system which had images attached to them we needed. Straightforward? Not this time! The emails came as attachments, with no filetype, and could only be opened as text documents. Needless to say we don't have Microsoft Outlook running so we couldn't open them that way. The text documents were huge, and looked something like this:

    Content-Type: image/jpeg; name="Six-spot Burnet moth.JPG"
    Content-Description: Six-spot Burnet moth.JPG
    Content-Disposition: attachment; filename="Six-spot Burnet moth.JPG";
    size=416910; creation-date="Sun, 25 Jul 2004 11:33:28 GMT";
    modification-date="Sun, 25 Jul 2004 11:33:28 GMT"
    Content-Transfer-Encoding: base64

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center