|
VMime
|
#include <POP3Utils.hpp>
Static Public Member Functions | |
| static void | parseMultiListOrUidlResponse (shared_ptr< POP3Response > response, std::map< size_t, string > &result) |
| static const std::vector< size_t > | messageSetToNumberList (const messageSet &msgs, const size_t msgCount) |
|
static |
Returns a list of message numbers given a message set.
| msgs | message set |
| msgCount | number of messages in folder |
References vmime::dynamicCast().
|
static |
Parse a response of type ([integer] [string]
)*.
This is used in LIST or UIDL commands:
C: UIDL S: +OK S: 1 whqtswO00WBw418f9t5JxYwZ S: 2 QhdPYR:00WBw1Ph7x7 S: .
| response | raw response string as returned by the server |
| result | points to an associative array which maps a message number to its corresponding data (either UID or size) |
References vmime::dynamicCast().