mail::ACCOUNT::getFolderKeywordInfo — Return message keywords


#include <libmail/sync.H>

mail::ACCOUNT *mail;

bool ok=mail->getFolderKeywordInfo( size_t messageNum,
  std::set<std::string> &keywords);


mail::ACCOUNT::getFolderKeywordInfo retrieves the current keywords for message #messagenum and places them into keywords (removing any existing contents). If the message does not have any keywords set, keywords will be an empty set. messageNum must be between zero and one less than the return code from mail::ACCOUNT::getFolderIndexSize(3x).

Return Codes

This function returns immediately.