ComponentPro UltimateMail

      UploadRawMessageAsync(String, Stream, ImapMessageFlags, MailDateTime) Method

      See AlsoMembers Options: Show AllLanguage Filter: AllSend comments on this topic to ComponentPro
      Asynchronously uploads a mail message inside the specified data stream to the specified folder, assigns the specified date and flags to this message.

      Syntax

      public ExtendedAsyncResult<string> UploadRawMessageAsync(
         string folder, 
         Stream input, 
         ImapMessageFlags flags, 
         MailDateTime internalDate
      )

      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.

      Return Value

      An object that references the asynchronous operation.

      Framework

      .NET Compact Framework.NET Compact Framework

      Supported version: 2.0, 3.5, and 3.9
      Assembly: ComponentPro.Mail.CF (in ComponentPro.Mail.CF.dll)

      .NET Framework.NET Framework

      Supported version: 2.0, 3.0, 3.5, 4.0, 4.5.x, 4.6.x and later
      Assembly: ComponentPro.Mail (in ComponentPro.Mail.dll)

      See Also