| Be aware that there is a difference between Unread messages and messages
in the INBOX folder. While *normally* those two are one and the same, there are
a number of reasons they could be different, most simply:
o A user refiles (RFD) an Unread message into another folder (e.g.,
READ_LATER)
o A user refiles a *Read* message *back* into the INBOX folder
(perhaps to take a look at later on)
In the first case, you will see *less* documents in the INBOX folder
(e.g., doing an II) than are indicated by your Unread mail count; in the second
case, you will see *more* documents in the INBOX folder than are indicated by
your Unread mail count.
(There are also remote cases where the actual count *can* get "out of
synch", but I'm not referring to those here.)
Since II only looks at the folder name (INBOX), and does not regard the
Status field, if you were truly looking for all Unread mail, you could do
something like:
<FOR CAB$ WITH .STATUS EQS OA$STS_UNREAD DO GET OA$DISPLAY = .%KEY
That way, you'd see *all* of them, regardless of the folder they were
in. The result of the above (i.e., OA$SEL_COUNT) should match your Unread
mail count.
F
|
| You can of course just enter I<cr> from the WP, EM or FC menus (and probably
several others) and blank out everything except the Status field which should
be set to UNREAD (or the appropriate translation).
This will list all unread mail no matter what the folder name.
Also mail with a status of NOTED is counted as unread. Normally a user would
not see the NOTED status as it only occurs while new mail is being read,
but if an abnormal exit from ALL-IN-1 occurs (e.g. CTRL-Y, ACCVIO, etc.) while
a new mail is being read the mail is left in NOTED status.
HTH
Terry
|