MailMessageLoad Method (String, LoadOptions)
Load message from file with additional options.

Namespace: Aspose.Email
Assembly: Aspose.Email (in Aspose.Email.dll) Version: 20.1
Syntax
public static MailMessage Load(
	string fileName,
	LoadOptions options
)

Parameters

fileName
Type: SystemString
Source file pathString.
options
Type: Aspose.EmailLoadOptions
Additional options LoadOptions.

Return Value

Type: MailMessage
Mail messageMailMessage.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf fileName is null.
See Also