On 3/27/2013 4:08 AM PT, Jim Taylor typed:

... I was wondering why my saved JP(E)G image didn't show up
correctly. I noticed my 3.5 MB file was actually a text file with
encoded attachment:

--Apple-Mail-ABD6ED3D-0515-4E05-BC44-0EC8E2F9C77B
Content-Type: image/jpeg;
     name=photo.JPG
Content-Disposition: inline;
     filename=photo.JPG
Content-Transfer-Encoding: base64
<< bunch of letters and numbers >>
--Apple-Mail-ABD6ED3D-0515-4E05-BC44-0EC8E2F9C77B
Content-Type: text/plain;
     charset=us-ascii
Content-Transfer-Encoding: 7bit


How can I get this image out? I no longer have the original e-mail
anymore, but do have this saved file (e-mail + encoded image). I tried
copying this file into my SM to see if SM mail could read it. Nope!

Remove the header and footer and run the << bunch of letters and numbers
 >> through a base 64 decoder.  The result should be a jpg file.

I assume I can use my 64-bit Debian stable's base64 command, but it doesn't seem to work:

$ base64 -d savedfile.txt
▒▒▒▒-▒ExifMM*
            ▒
▒base64: invalid input

Maybe I did that wrong? :(
--
"Ladies and gentlemen, hoboes and tramps... Crosseyed Mosquitoes and bow-legged ants... I've come to tell you the story..." --Bob Holman
   /\___/\         Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
  / /\ /\ \                Ant's Quality Foraged Links: http://aqfl.net
 | |o   o| |
    \ _ /        If crediting, then use Ant nickname and AQFL URL/link.
     ( )         If e-mailing, then axe ANT from its address if needed.
Ant is currently not listening to any songs on this computer.
_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to