1mail::ACCOUNT::removemMaeisls:a:gAeCsC(O3UxN)T SynchronousmAaPiIl:r:eAfCeCrOeUnNcTe::removeMessages(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
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: This request should not be used with accounts on IMAP
22 servers that do not implement the UIDPLUS IMAP extension.
23 ``UIDPLUS'' is required to directly support this functionality.
24 An alternative, much slower, fallback implementation will be
25 used with IMAP servers that do not implement this protocol
26 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 descrip‐
31 tion of the error.
32
34 mail::ACCOUNT::saveFolderIndexInfo(3x), mail::ACCOUNT::getFolderIndex‐
35 Info(3x), mail::ACCOUNT::removeMessages(3x).
36
37
38
39 10 April 2006mail::ACCOUNT::removeMessages(3x)