SharpMimeTools Documented Class Library

SharpMessage Constructor (Stream, MimeTopLevelMediaType, Boolean)

[This is preliminary documentation and subject to change.]

Initializes a new instance of the SharpMessage class based on the supplied Stream.

public SharpMessage(
   Stream message,
   MimeTopLevelMediaType types,
   bool html
);

Parameters

message
Stream that contains the message content
types
A MimeTopLevelMediaType value that specifies the allowed Mime-Types to being decoded.
html
true to allow HTML content; false to ignore the html content.

See Also

SharpMessage Class | anmar.SharpMimeTools Namespace | SharpMessage Constructor Overload List