Uploads the message to the specified folder and sets its flags.
public string UploadMessage(
string folder,
string from,
string to,
string subject,
string body,
ImapMessageFlags flags,
string[] keywords
)
Public Function UploadMessage( _
ByVal folder As String, _
ByVal from As String, _
ByVal to As String, _
ByVal subject As String, _
ByVal body As String, _
ByVal flags As ImapMessageFlags, _
ByVal keywords As String() _
) As String
public:
String UploadMessage(
String^ folder,
String^ from,
String^ to,
String^ subject,
String^ body,
ImapMessageFlags flags,
array<String>^ keywords
);
Parameters
- folder
- Folder that will receive the message.
- from
- Message sender.
- to
- Comma-separated list of message recipients.
- subject
- The subject of the message.
- body
- The text body of the message.
- 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.