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:
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" ?
<img src="cid:ii_13a30f914dff78c5" alt="Billede indsat i tekst 1">
I'm full of hope
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"
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)