Re: pop3: Refreshing view of messages contained in a folder

Gaël Roualland <[email protected]>
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
DINH Viet Hoa a écrit :

> DINH Viet Hoa wrote :
>
> > > I have a POP3 connection and want to refresh my view of the messages
> > > contained in the inbox. I thought I'd just be able to call
> > > mailfolder_get_messages_list but this resolves to a call to
> > > mailpop3_list_if_needed. Because I've previously called
> > > mailfolder_get_messages_list the call to the server to retrieve the current
> > > list of messages isn't made.
> > >
> > > Do I need to resort to calling the lower level functions myself in order to
> > > refresh my view of the inbox?
>
> I forget to give the detail that for POP3 standard (correct me if I am
> wrong), LIST will always return the same result in the same session.

Allright, then ;) LIST will only return the same result if you do not
delete messages during the session, since it will not list deleted
messages.

The actual behavior is that the state of the mailbox as seen by the POP
client can not change during the session: no new messages, no deleted
messages except for those deleted in that exact session.

Gaël.

-- 
Gaël Roualland -+- [email protected]


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.