Click or drag to resize

MailMessageLoad Method (Stream, MailMessageFormat)

Loads the message from the specified stream.

Namespace:  GemBox.Email
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 13.0.35.1012
Syntax
public static MailMessage Load(
	Stream stream,
	MailMessageFormat format
)

Parameters

stream
Type: System.IOStream
The stream from which the message will be loaded.
format
Type: GemBox.EmailMailMessageFormat
The message format.

Return Value

Type: MailMessage
MailMessage instance.
Exceptions
ExceptionCondition
ArgumentNullException Stream is null.
ArgumentException Unknown message format.
See Also