MailMessageLoad Method (String, MailMessageFormat) |
Loads the message from the specified file.
Namespace:
GemBox.Email
Assembly:
GemBox.Email (in GemBox.Email.dll) Version: 15.0.35.1006
Syntaxpublic static MailMessage Load(
string filePath,
MailMessageFormat format
)
Public Shared Function Load (
filePath As String,
format As MailMessageFormat
) As MailMessage
Parameters
- filePath
- Type: SystemString
A relative or absolute path to the file. - format
- Type: GemBox.EmailMailMessageFormat
The message format.
Return Value
Type:
MailMessageMailMessage instance.
Exceptions
See Also