Imap.SetMessageFlags Method
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9083)
SetMessageFlags(ImapMessageSet, ImapFlagAction, ImapMessageFlags, String[])
Modifies the flags of messages in the current folder that belong to a specified message set.
Declaration
public void SetMessageFlags(ImapMessageSet messageSet, ImapFlagAction action, ImapMessageFlags flags, params string[] keywords)
Parameters
Type | Name | Description |
---|---|---|
ImapMessageSet | messageSet | A set of messages. |
ImapFlagAction | action | The action to take. |
ImapMessageFlags | flags | Flags to add, remove or set. |
String[] | keywords | Keywords to add, remove or set. |
Remarks
This method represents IMAP STORE command.
SetMessageFlags(ImapMessageSet, ImapFlagAction, ImapMessageFlags)
Modifies the flags of messages in the current folder that belong to a specified message set.
Declaration
public void SetMessageFlags(ImapMessageSet messageSet, ImapFlagAction action, ImapMessageFlags flags)
Parameters
Type | Name | Description |
---|---|---|
ImapMessageSet | messageSet | A set of messages. |
ImapFlagAction | action | The action to take. |
ImapMessageFlags | flags | Flags to add, remove or set. |
Remarks
This method represents IMAP STORE command.
SetMessageFlags(Int32, ImapFlagAction, ImapMessageFlags)
Modifies the flags of a message with the specified sequence number.
Declaration
public void SetMessageFlags(int sequenceNumber, ImapFlagAction action, ImapMessageFlags flags)
Parameters
Type | Name | Description |
---|---|---|
Int32 | sequenceNumber | Message sequence number. |
ImapFlagAction | action | The action to take. |
ImapMessageFlags | flags | Flags to add, remove or set. |
Remarks
This method represents IMAP STORE command.
SetMessageFlags(String, ImapFlagAction, ImapMessageFlags)
Modifies the flags of a message with the specified unique ID.
Declaration
public void SetMessageFlags(string uniqueId, ImapFlagAction action, ImapMessageFlags flags)
Parameters
Type | Name | Description |
---|---|---|
String | uniqueId | Message unique ID. |
ImapFlagAction | action | The action to take. |
ImapMessageFlags | flags | Flags to add, remove or set. |
Remarks
This method represents IMAP STORE command.
SetMessageFlags(Int32, ImapFlagAction, ImapMessageFlags, String[])
Modifies the flags of a message with the specified sequence number.
Declaration
public void SetMessageFlags(int sequenceNumber, ImapFlagAction action, ImapMessageFlags flags, params string[] keywords)
Parameters
Type | Name | Description |
---|---|---|
Int32 | sequenceNumber | Message sequence number. |
ImapFlagAction | action | The action to take. |
ImapMessageFlags | flags | Flags to add, remove or set. |
String[] | keywords | Keywords to add, remove or set. |
Remarks
This method represents IMAP STORE command.
SetMessageFlags(String, ImapFlagAction, ImapMessageFlags, String[])
Modifies the flags of a message with the specified unique ID.
Declaration
public void SetMessageFlags(string uniqueId, ImapFlagAction action, ImapMessageFlags flags, params string[] keywords)
Parameters
Type | Name | Description |
---|---|---|
String | uniqueId | Message unique ID. |
ImapFlagAction | action | The action to take. |
ImapMessageFlags | flags | Flags to add, remove or set. |
String[] | keywords | Keywords to add, remove or set. |
Remarks
This method represents IMAP STORE command.