Click or drag to resize

ImapClientSaveMessage Method (Int32, String)

Saves the specified message to a file.

Namespace:  GemBox.Email.Imap
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 13.0.35.1008
Syntax
public void SaveMessage(
	int messageNumber,
	string filePath
)

Parameters

messageNumber
Type: SystemInt32
The message number.
filePath
Type: SystemString
A relative or absolute path for the file where message will be saved.
Exceptions
ExceptionCondition
InvalidOperationException No folder is selected or Client is not connected or Server error.
ArgumentOutOfRangeException Message number is out of range.
FreeLimitReachedException Free license limitation exceeded.
See Also