Click or drag to resize

ImapClientSaveMessage Method (String, 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(
	string uid,
	Stream output
)

Parameters

uid
Type: SystemString
The message id.
output
Type: System.IOStream
The stream to save message to.
Exceptions
ExceptionCondition
InvalidOperationException No folder is selected or UID operations are not supported or Client is not connected or Server error.
ArgumentException Message id is null or empty. or Output stream is not writable.
ArgumentNullException Output stream is null.
FreeLimitReachedException Free license limitation exceeded.
See Also