1        ConeĀ©
2
3MAIL::ACCOUNT::SAVEF(3x)Cone: COnsole Newsreader And EMAIL::ACCOUNT::SAVEF(3x)
4
5
6

NAME

8       mail::ACCOUNT::saveFolderIndexInfo - Update message status
9

SYNOPSIS

11       #include <libmail/sync.H>
12
13       mail::ACCOUNT *mail;
14
15       bool ok=->saveFolderIndexInfo(size_t messageNum,
16                                     const messageInfo &msgInfo);
17
18                                     std::string errmsg=mail->getErrmsg();
19

USAGE

21       mail::ACCOUNT::saveFolderIndexInfo changes the status of a message.
22       messageNum must be between zero and one less than the return code from
23       mail::ACCOUNT::getFolderIndexSize(3x).  msgInfo contains the new status
24       flags for this message. See mail::ACCOUNT::getFolderIndexInfo(3x) for a
25       description of message status flags.
26
27           Note
28           The uid field in msgInfo is ignored. The message is specified by
29           messageNum, and unique IDs of existing messages cannot be changed.
30

RETURN CODES

32       This method returns true if it succeeds, or false if it fails. If the
33       method fails, use mail::ACCOUNT::getErrmsg() to read a brief
34       description of the error.
35

SEE ALSO

37       mail::ACCOUNT::updateFolderIndexFlags(3x),
38       mail::ACCOUNT::updateFolderIndexInfo(3x),
39       mail::ACCOUNT::getFolderIndexInfo(3x),
40       mail::ACCOUNT::updateKeywords(3x).
41

AUTHOR

43       Sam Varshavchik
44
45
46
47ConeĀ©                             08/25/2016          MAIL::ACCOUNT::SAVEF(3x)
Impressum