On Sat, 05 Jan 2002 20:54:09 Ricardo Campos wrote:
Does anyone know of a way I can retrieve mails from an mbox file?
Evolution successfully managed to trash my Inbox, and there's a message in there with really important info, which unfortunately cannot be resent.
The error I get is: " The folder appears to be irrecoverably corrupted" ...which sounds quite ominous, but I am hoping is not true!
The mbox files I have seen have been in the same format as a normal unix mailbox so you will probably find that the file itself is human readable, i.e. you can open it in your favourite text editor and you will be able to read the text of the e-mails.
Each message begins with a blank line followed by a line that starts with the word From, hence if the word From appears in the body of the mail at the start of a line following a blank line it will be escaped by adding a > character in front.
Steve.