Asynchronously uploads a mail message inside the specified data stream to the specified folder, assigns the specified date and flags to this message.
public ExtendedAsyncResult<string> UploadRawMessageAsync(
string folder,
Stream input,
ImapMessageFlags flags,
MailDateTime internalDate,
string[] keywords
)
Public Function UploadRawMessageAsync( _
ByVal folder As String, _
ByVal input As Stream, _
ByVal flags As ImapMessageFlags, _
ByVal internalDate As MailDateTime, _
ByVal keywords As String() _
) As ExtendedAsyncResult(Of String)
public:
ExtendedAsyncResult<String> UploadRawMessageAsync(
String^ folder,
Stream^ input,
ImapMessageFlags flags,
MailDateTime^ internalDate,
array<String>^ keywords
);
Parameters
- folder
- The full name of the folder to upload the message to.
- input
- The input stream. This stream must contain data in MIME format.
- flags
- The message flags.
- internalDate
- The IMAP message date/time.
- keywords
- Keywords to set.
Return Value
An object that references the asynchronous operation.