mail::ACCOUNT::saveFolderIndexInfo — Update message status
#include <libmail/sync.H>
mail::ACCOUNT *mail;
bool
ok=->saveFolderIndexInfo( |
size_t messageNum, |
const messageInfo
&msgInfo) ; |
std::string errmsg=mail->getErrmsg();
mail::ACCOUNT::saveFolderIndexInfo
changes
the status of a message. messageNum
must be between zero
and one less than the return code from mail::ACCOUNT::getFolderIndexSize(3x).
msgInfo
contains the
new status flags for this message. See mail::ACCOUNT::getFolderIndexInfo(3x)
for a description of message status flags.
The uid
field
in msgInfo
is
ignored. The message is specified by messageNum
, and unique IDs of
existing messages cannot be changed.