DecodeFromStream Method
Decodes from stream.
procedure DecodeFromStream(InputStream: TStream);
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 properties.
Example (Decoding Mail Message)
MIMEControl.MessageHeaders.AddRange(MailControl.MessageHeaders) MIMEControl.DecodeFromStream(InputStream)