Re: inbox without an out!

From: Arnoud (galactus@stack.nl)
Date: Tue, 14 Jul 1998 18:32:06 +0200

In article <Kf2p1wfWt26I092yn@ix.netcom.com>,
jcperez1@ix.netcom.com (Julio C. Perez) wrote:
> So if these codes represent the absolute number of bytes in the
> msg, then how does Yarn keep track of the status of the msg (read, old, etc.)?

It stores this information in the X-Status header in the message. If
you look at the mailbox with a file viewer, you can see this header
with the same values that appear in the message window in Yarn.

So if you read a message, the folder has to be rewritten in order to
insert or change the status letter.

> What is the delimiter between one msg and the next?When does the byte count
> begin and end?

The message format is very simple, for each message you first get four
bytes with the length of the message, then the message itself.

-- 
\/  Arnoud "Galactus" Engelfriet - galactus@stack.nl              This space
    5th year Business & Computing Science student                 left blank
    URL: http://www.stack.nl/~galactus/  PGP: 0x416A1A35      intentionally.