Uploads the message to the specified folder and sets its flags.
public string UploadMessage(
string folder,
MailMessage message,
ImapMessageFlags flags,
string[] keywords
)
Public Function UploadMessage( _
ByVal folder As String, _
ByVal message As MailMessage, _
ByVal flags As ImapMessageFlags, _
ByVal keywords As String() _
) As String
public:
String UploadMessage(
String^ folder,
MailMessage^ message,
ImapMessageFlags flags,
array<String>^ keywords
);
Parameters
- folder
- Folder that will receive the message.
- message
- Message to upload.
- flags
- Message flags.
- keywords
- Keywords to set.
Return Value
Unique ID of the message, or null (Nothing in Visual Basic) if the server does not support the UIDPLUS extension.