MailMessageLoad Method (Stream, LoadOptions)

Load message from stream with additional options.

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.3
Syntax
public static MailMessage Load(
	Stream stream,
	LoadOptions options
)

Parameters

stream
Type: System.IOStream
Source streamStream.
options
Type: Aspose.EmailLoadOptions
Additional options LoadOptions.

Return Value

Type: MailMessage
Mail messageMailMessage.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf stream is null.
See Also