Re: POP3: Deleting a message
DINH Viet Hoa <[email protected]>
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <etPan.426f8eea.4cb42cc9.76d8@utopia> |
David Gal wrote : > What's the preferred method for deleting a message in a mail folder. I've > got a POP3 connection and from what I can see, the mailfolder_expunge method > isn't supported by the POP3 driver and the documentation says that use of > the mailsession_remove_session method is deprecated. You can use the cached driver that implements the expunge for the POP3 driver (however, you have to work with a temporary cache). What you noticed make me think that it will be interesting (and it is technically possible) to implement the expunge in the non-cached driver. You can enable the cache by setting the flag to '1' when creating the storage and by setting a directory for the flags and an other directory for the cache. -- DINH V. Hoa, "l'informatique, c'est sympa mais finalement, pourquoi tu n'as pas fait de la musique, finalement, c'est sympa le pipeau" -- b.
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD4DBQBCb49u7w+pfAWHa3MRAkV2AJ9uXXgNvHdLP5Qipvg3RXwdkJ3wwwCY4qz6 JJhuGeft26t6ysxhPKbTBA== =DX7e -----END PGP SIGNATURE-----