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

DINH Viet Hoa <[email protected]>
Newsgroups gmane.mail.libetpan.user
Message-ID <etPan.4276ba4f.4d0fe69c.d6f@utopia>
David Gal 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?

As a workaround, you can do the following :
- disconnect the folder
- disconnect the storage
- reconnect the storage
- reconnect the folder

the message list will be refreshed.

And yes, POP3 need a disconnection so that the message list is 
refreshed.

-- 
DINH Viet Hoa
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBCdrqa7w+pfAWHa3MRAnSDAJwPEYqi7oCFuIaCfCHsY1GtyT2Z/ACfZnu3
29I33lte6/SwNM3uKtbKdZE=
=8ZVV
-----END PGP SIGNATURE-----
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.