MailMessageLoad Method (String, LoadOptions) |
Load message from file with additional options.
Namespace:
Aspose.Email
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntaxpublic static MailMessage Load(
string fileName,
LoadOptions options
)
Public Shared Function Load (
fileName As String,
options As LoadOptions
) As MailMessage
public:
static MailMessage^ Load(
String^ fileName,
LoadOptions^ options
)
static member Load :
fileName : string *
options : LoadOptions -> MailMessage
Parameters
- fileName
- Type: SystemString
Source file pathString. - options
- Type: Aspose.EmailLoadOptions
Additional options LoadOptions.
Return Value
Type:
MailMessageMail message
MailMessage.
Exceptions
See Also