Click or drag to resize

MailMessageLoad Method (String)

Loads the message from the specified file.

Namespace:  GemBox.Email
Assembly:  GemBox.Email (in GemBox.Email.dll) Version: 13.0.35.1008
Syntax
public static MailMessage Load(
	string filePath
)

Parameters

filePath
Type: SystemString
A relative or absolute path to the file.

Return Value

Type: MailMessage
MailMessage instance.
Exceptions
ExceptionCondition
ArgumentException File path is null or empty.
See Also