Click or drag to resize

ImapClientSaveMessage Method (Int32, Stream)

Saves the specified message to a stream.

Namespace:  GemBox.Email.Imap
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 13.0.35.1012
Syntax
public void SaveMessage(
	int messageNumber,
	Stream output
)

Parameters

messageNumber
Type: SystemInt32
The message number.
output
Type: System.IOStream
The stream to save message to.
Exceptions
ExceptionCondition
InvalidOperationException No folder is selected or Client is not connected or Server error.
ArgumentException Output stream is not writable.
ArgumentNullException Output stream is null.
ArgumentOutOfRangeException Message number is out of range.
FreeLimitReachedException Free license limitation exceeded.
See Also