ComponentPro UltimateMail

      SendAsync(Stream, String, String) Method

      See AlsoMembers Options: Show AllLanguage Filter: AllSend comments on this topic to ComponentPro
      Asynchronously reads and sends a mail message from the specified stream in MIME format.

      Syntax

      public ExtendedAsyncResult SendAsync(
         Stream input, 
         string sender, 
         string recipients
      )

      Parameters

      input
      The input stream in MIME format. The stream must contain data in MIME format, other formats are not supported.
      sender
      Message sender address (can be null or empty string).
      recipients
      The list of recipients (can be null).

      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