MailMessageLoad Method (Stream, LoadOptions) |
Load message from stream with additional options.
Namespace:
Aspose.Email
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax public static MailMessage Load(
Stream stream,
LoadOptions options
)
Public Shared Function Load (
stream As Stream,
options As LoadOptions
) As MailMessage
public:
static MailMessage^ Load(
Stream^ stream,
LoadOptions^ options
)
static member Load :
stream : Stream *
options : LoadOptions -> MailMessage
Parameters
- stream
- Type: System.IOStream
Source streamStream. - options
- Type: Aspose.EmailLoadOptions
Additional options LoadOptions.
Return Value
Type:
MailMessageMail message
MailMessage.
Exceptions See Also