Sets message flags for a range of messages in an IMAP mailbox.
Namespace: Jscape.EmailAssembly: Jscape.Email (in Jscape.Email.dll) Version: 2.4.5.0
Syntax
C# |
---|
public void Store( int startMessage, int endMessage, int mode, int flag ) |
Visual Basic |
---|
Public Sub Store ( _ startMessage As Integer, _ endMessage As Integer, _ mode As Integer, _ flag As Integer _ ) |
Visual C++ |
---|
public: void Store( int startMessage, int endMessage, int mode, int flag ) |
Parameters
- startMessage
- Type: System..::..Int32
The one-based starting message id.
- endMessage
- Type: System..::..Int32
The one-based ending message id.
- mode
- Type: System..::..Int32
The flag mode.
- flag
- Type: System..::..Int32
The flag.
Examples
This example adds the /Answered flag for messages 1 through 10 to the existing flags.
CopyImap Store
CopyImap Store

myImap.Store(1, 10, Imap.FLAG_MODE_ADD, Imap.FLAG_ANSWERED);

myImap.Store(1, 10, Imap.FLAG_MODE_ADD, Imap.FLAG_ANSWERED)