Ant wrote:
...

True. Of course there is another way. SeaMonkey uses mbox format to the
mail folder is just one big text file. Your can search and cutout the
base64 encoded image out of the message. If sone this in the past to fix
corrupted mail accounts. I made perl scripts that deconstruct mbox file
into individual eml files, then I could tweak afflicted emails, and then
reconstruct eml files back into the mbox file.

Wouldn't that be huge in a text editor if the images like MB big?

Yep. Especially since binary data "expands" 50-100% after encoding to allow it to be sent via a text-only protocol. So the email will be a multipart so there will be boundary markers:

boundary="------------020001060407070209050004"

search for "------------020001060407070209050004" and closing marker has an extra trailing "--"

"------------020001060407070209050004--" and delete...

That is why I made perl scripts to do it.

From - Sun Jan 17 14:56:18 2016
...
This is a multi-part message in MIME format.
--------------020001060407070209050004

... message ...

--------------020001060407070209050004
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-ID: <[email protected]>

iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAAXNSR0IArs4c6QAAAARnQU1B
AACxjwv8YQUAAAAwUExURQABAAcaDgc2FS4mHlkoIANRHAFrI2hdVoAZGKkhHNwjG6KdCePh
AqJ9XtG2oW5bHMaqoIQAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAhdEVYdENyZWF0aW9uIFRp
...
LOV2ew7yNV2FN/Qa5CooZSdl2SSbwJE3wXrDfgNm6a/xFzLNBp2o2+0aAAAAAElFTkSuQmCC

--------------020001060407070209050004--

Gets converted to:

From - Sun Jan 17 14:56:18 2016
...
This is a multi-part message in MIME format.
--------------020001060407070209050004

... message ...

[deleted images]

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to