IPWorks S/MIME 2020 .NET Edition

Questions / Feedback?

SetMessageStream Method

Sets the stream to be uploaded to the server as part of the message.

Syntax

public void SetMessageStream(System.IO.Stream messageStream);
Public Sub SetMessageStream(ByVal MessageStream As System.IO.Stream)

Remarks

This method sets the stream to be uploaded to the server as part of the message. If an upload stream is set before the Send method is called, the content of the stream will be read by the component and uploaded to the server; The stream should be open and normally set to position 0. The component will automatically close this stream if CloseStreamAfterTransfer is set to true (default). If the stream is closed, you will need to call this method again before calling Send again. The content of the stream will be read from the current position all the way to the end.

Note: This method and LocalFile will reset the other.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks S/MIME 2020 .NET Edition - Version 20.0 [Build 8161]