okay...so what happens when I send THIS email? >From <me>
??? is the < converted to < or something? and I've already tried deleting the UID...no effect. what is the uid anyway? is it an index file? (email 1 starts on line 1, email 2 starts on line 50, etc)? -Mark ---------- Original Message ---------------------------------- From: "R. Scott Perry" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Sun, 07 Apr 2002 19:01:36 -0400 > >>I'm using imail 6.x and I need to recover as many emails as possible from >>a corrupted file. IMail won't read the file and every time I try to make >>it it just locks the mailbox. So I have to write a program to parse the >>mbx files, extract any good emails and re-create the mbx file. The >>problem I'm running into is that there doesn't seem to be any seperator >>between emails. it just starts a new line with: From >><[EMAIL PROTECTED]>. does anyone know how imail detects new emails? > >You found it. > >IMail uses a variation of the standard Unix mailbox format. The identifier >for the start of a new E-mail is the presence of "From <" at the beginning >of a new line. > >So, you program can do the following: > > o Read a line from the .mbx file > o If it is "From <", start a new E-mail > o Otherwise, process it as a line of the current E-mail > o Repeat > > > -Scott >--- >Declude: Anti-virus, Anti-spam and Anti-hijacking solutions for >IMail. http://www.declude.com > >--- >[This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)] > > >Please visit http://www.ipswitch.com/support/mailing-lists.html >to be removed from this list. > >An Archive of this list is available at: >http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ > >Please visit the Knowledge Base for answers to frequently asked >questions: http://www.ipswitch.com/support/IMail/ > Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Please visit the Knowledge Base for answers to frequently asked questions: http://www.ipswitch.com/support/IMail/
