In a message dated 2004/10/28 12:44:49 Eastern Daylight Time,
[EMAIL PROTECTED] writes:
> "Connection" refers to the entire sequence of client/server interaction from I agree the compassion is not appropriate. What I really want is to make
sure that after log-ed in until logout, it is counted as in one connection.
If this is true, then after login until logout there can only be one
mailbox being selected (one session there).
Regarding why thinking about keep multiple mailbox selected using
c-client:
"can have multiple MAILSTREAMs
open, each with a separate mailbox selected", I believe you mean
the mail boxes for the MAILSTREAMs might be SELECT'ed before and not
closed, but only one is SELECT'ed at the moment.
Also if the MAILSTREAM s1's mail
box had been SELECT'ed before but now another mail box is SELECT'ed. Could we
still call this MAILSTREAM s1 open until it is closed? Will the data
downloaded into cache while it was open be still in the c-client cache, until s1
is closed even if other mail box is SELECT'ed now (i.e. can still use some of
the mail_xxx() function against this stream s1, such as get msg
number..)?
Totally agree your comment on thinking about the resource limitation
issue.
I saw some of the commercial IMAP client(e.g. Communicator), one of basic
feature is to list all of the mail entries (sender, subject, time) from
different mailbox after log into the server. Then user could brows around,
doing a quick local search to see if there is mail from someone or have certain
subject, and then click on the interested mail from different mailboxes(I
used to call it folders).
If the mailbox is not selected at clicking time then it will have to be
re-selected at the clicking time. From the nature of IMAP I guess your
suggestion is to prefer to reselect than to keep multiple mailbox SELETC'ed in
multiple connections.
But we still have problem if the client really want get the 10,000 mails to
be listed in UI after login. It might take a while on dial up connection
Again, thanks for your response and it is really great help!
|