On Wednesday 31 October 2012 10:06:39 Simon Ransome wrote:
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".
Many thanks for this, I'll have a go. I should have said that the quoted bit was only part of the file to give an illustration of the problem. You're right that it is truncated.
I'll have a go with 'base64-d....'
This is for a client lloosely speaking who has had some documents deleted from the hard drive by a former employee. Its turned out to be possible to recover an archive containing many emails, but the attachments to them have resisted decoding, and this was one.
The documents are .eml. They can be read in a text editor or in a mail reader, and the attachments are then visible, and can be saved, but they cannot be opened.
Before getting this reply, I found a Perl module that had some success. The text did appear, with no formatting and buried in a huge mass of non-ascii characters.
I'll have a go with your method today.
Al