On 31/10/12 09:20, Peter Alcibiades wrote:
I have an email with an attachment which will not open in OO. When the email is opened in a text editor I get this after the body of the message. Is there any way to open and read this?
You can copy-and-paste the blob of data to a temporary file and run "base64 -d blob.txt" (as the attachment is base64-encoded). However, I've tried it and it decodes some of it and then reports "invalid input".
It actually looks a bit small to be a complete Word document (Content-Type: application/msword; name="xxxx.doc"). I created a .doc file with nothing more than the word "test" in it and it saved out at about 9Kb (this was via OO, so probably a bit different from an MS original, but still ball-park). The blob of data you have decodes to 283 bytes (before it barfs), so it really does look like it's corrupted and is really missing a good chunk of the attachment (the odd length of line 5 is perhaps a hint).
Hth, Simon
Trying to open the attachment in OO just gives an error.
------=_NextPart_001_0041_01CC115D.F6E27A10--
------=_NextPart_000_0040_01CC115D.F6E27A10 Content-Type: application/msword; name="xxxx.doc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="xxxx.doc"
0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAAPgAAAAAAAAAA EAAAQAAAAAEAAAD+////AAAAAD0AAAD///////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////????//////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////s pcEAA4AJBAAA8BK/AAAAAAAAEAAAAAAACAAAFg0AAA4AYmpiarRWtFYAAAAAAAAAAAAAAAAAAAAA AAAJBBYANSoAANY8AQDWPAEAFgUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//w8AAAAA AAAAAAD//w8AAAAAAAAAAAD//w8AAAAAAAAAAAAA????AAAAALcAAAAAAIAFAAAAAAAAgAUAAMMS AAAAAAAAwxIAAAAAAADDEgAAAAAAAMMSAAAAAAAAwxIAABQAAAAAAAAAAAAAAP////8AAAAA1xIA AAAAAADXEgAAAAAAANcSAAAAAAAA1xIAAAwAAADjEgAAbAAAANcSAAAAAAAAYBgAAHQBAABPEwAA AAAAAE8TAAAAAAAATxMAAAAAAABPEwAAAAAAAE8TAAAAAAAAKhQAAAAAAAAqFAAAAAAAACoUAAAA
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!