Click or drag to resize

MailMessageSave Method (String, MailMessageFormat)

Saves the message to a file.

Namespace:  GemBox.Email
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 11.3.30.1034
Syntax
public void Save(
	string filePath,
	MailMessageFormat format
)

Parameters

filePath
Type: SystemString
A relative or absolute path for the file where message will be saved.
format
Type: GemBox.EmailMailMessageFormat
The message format.
Exceptions
ExceptionCondition
ArgumentException File path is null or empty.
See Also