Documentation for MAILBOX.PRG - a NEWSie Utility
July 14, 1997

MAILBOX.PRG is a GEM utility program designed to recover email messages from the 
NEWSie MAIL path and rebuild Mailbox files (.MBX) to index the recovered email 
messages.

There is a single input from the user.  The user is asked to identify the MAIL 
path via file selector.  The selection will be echoed in an alert box, giving 
the user the option to continue or cancel.

Once the MAIL path has been selected and verified, the program will scan the 
directory for all *.MBX files and report their names.  At the same time, an 
index of all email messages within those mailbox files is produced.  Next the 
directory is scanned for all MAILnnnn.TXT files (email text), and the index is 
updated to identify all of the email text files that are not contained in a
mailbox.

If any orphan email messages (MAILnnnn.TXT) files exist, they are included in 
a new set of Mailbox files, starting with RECOVER0.MBX thru RECOVER9.MBX.  These 
Mailboxes can contain up to 100 email messages each, for a total recovery of 
1000 orphaned messages.  If you have more lost messages, you should rename the 
RECOVERn.MBX files to something else (i.e. FOUNDn.MBX) and run MAILBOX.PRG 
again.

Reasons for orphaned emails include:
	Erased or corrupted .MBX file(s)
	Sending email when the OUTBOX.MBX files has more than 100 messages.

Please let me know if you find any problems with using this program.
John Rojewski
rojewski@primenet.com

