Rechercher une page de manuel
mail::ACCOUNT::removeMessages.3x
Langue: en
Version: 11/28/2008 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
NAME
mail::ACCOUNT::removeMessages - Remove messages from the folderSYNOPSIS
-
#include <libmail/sync.H> mail::ACCOUNT *mail;
- mail->removeMessages(const std::vector<size_t> msgList);
USAGE
- This function removes messages from the currently open folder. msgList is a list of messages to be removed.
Note
This request should not be used with accounts on IMAP servers that do not implement the UIDPLUS[1] IMAP extension. lqUIDPLUSrq is required to directly support this functionality. An alternative, much slower, fallback implementation will be used with IMAP servers that do not implement this protocol extension.
RETURN CODES
This method returns true if it succeeds, or false if it fails. If the method fails, use mail::ACCOUNT::getErrmsg() to read a brief description of the error.
SEE ALSO
mail::ACCOUNT::saveFolderIndexInfo(3x), mail::ACCOUNT::getFolderIndexInfo(3x), mail::ACCOUNT::removeMessages(3x).
NOTES
- 1.
- UIDPLUS
- http://www.rfc-editor.org/rfc/rfc2359.txt
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre