DecodeFromStream Method

Decodes from stream.

Syntax

public fun decodeFromStream(inputStream: InputStream?)

Remarks

This method decodes from stream. Same as DecodeFromString, but now the MIME message is passed to this method as a stream.

This method decodes the data given by the InputStream and optionally MessageHeaders and fills out the Parts collection.

Example (Decoding Mail Message)


MIMEControl.MessageHeaders.AddRange(MailControl.MessageHeaders)
MIMEControl.DecodeFromStream(InputStream)

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks 2020 Kotlin Edition - Version 20.0 [Build 7941]