Re: Documentation question

DINH Viet Hoa <[email protected]>
Newsgroups gmane.mail.libetpan.user
Message-ID <etPan.427c0696.1ea497fd.44bd@utopia>
David Gal wrote :

> Looking at the documentation, a lot of the functions defined in
> mailsession_driver are declared as deprecated - for example
> sess_remove_message and sess_list_folders. Does this mean the corresponding
> mailsession_remove_message and mailsession_list_folders methods are also
> deprecated? If so, how under an IMAP connection am I supposed to retrieve
> the list of subfolders in a folder?

since information you retrieve is mostly access type specific, you need 
to retrieve the low-level object to make the request :

see the following to know how to do this :
http://cvs.sourceforge.net/viewcvs.py/libetpan/etpan-ng/src/etpan-imap.c?rev=1.10&view=auto

for remove_message, basically, you have to rely on setting flags 
on the message and expunge but changes have to be done in some 
non-cached drivers to support this.

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

iD8DBQBCfAdr7w+pfAWHa3MRAvR9AJ9gvUkQY7I+hqzP0As8Bk9BEPpEggCfRQtu
fCKB/nREKcJWotr4/n7y2AM=
=bsRR
-----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.