MessageSet Property
The set of messages to operate on.
Syntax
char* GetMessageSet();
int SetMessageSet(char* lpszMessageSet);
Default Value
""
Remarks
This property indicates the set of messages to operate on. Used as an argument to most method calls.
It may consist of a single message number, a range of messages specified by two message numbers separated by ':' (e.g. "1:5"), and/or individual message numbers separated by ',' (e.g. "1:5,7,10").
Example (Setting MessageSet)
IMAPControl.MessageSet =
"1"
IMAPControl.FetchMessageInfo()
IMAPControl.MessageSet =
"1:5"
IMAPControl.FetchMessageInfo()
IMAPControl.MessageSet =
"1,5,7"
IMAPControl.FetchMessageInfo()
Data Type
String