Click or drag to resize

ImapClientSaveMessage Method (String, String)

Saves the specified message to a file.

Namespace:  GemBox.Email.Imap
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 11.3.30.1034
Syntax
public void SaveMessage(
	string uid,
	string filePath
)

Parameters

uid
Type: SystemString
The message id.
filePath
Type: SystemString
A relative or absolute path for the file where message will be saved.
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.
FreeLimitReachedException Free license limitation exceeded.
See Also