1MAIL::ACCOUNT::REMOV(3x)Cone: COnsole Newsreader And EMAIL::ACCOUNT::REMOV(3x)
2
3
4
6 mail::ACCOUNT::removeMessages - Remove messages from the folder
7
9 #include <libmail/sync.H>
10
11 mail::ACCOUNT *mail;
12
13 mail->removeMessages(const std::vector<size_t> msgList);
14
16 This function removes messages from the currently open folder. msgList
17 is a list of messages to be removed.
18
19 Note
20 This request should not be used with accounts on IMAP servers that
21 do not implement the UIDPLUS[1] IMAP extension. “UIDPLUS” is
22 required to directly support this functionality. An alternative,
23 much slower, fallback implementation will be used with IMAP servers
24 that do not implement this protocol extension.
25
27 This method returns true if it succeeds, or false if it fails. If the
28 method fails, use mail::ACCOUNT::getErrmsg() to read a brief
29 description of the error.
30
32 mail::ACCOUNT::saveFolderIndexInfo(3x),
33 mail::ACCOUNT::getFolderIndexInfo(3x),
34 mail::ACCOUNT::removeMessages(3x).
35
37 1. UIDPLUS
38 http://www.rfc-editor.org/rfc/rfc2359.txt
39
40
41
42[FIXME: source] 05/08/2010 MAIL::ACCOUNT::REMOV(3x)