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