MailMessageValidateMessage Method (String) |
Validate eml message for corresponding to mime specification.
Namespace:
Aspose.Email
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntaxpublic static EmlValidationErrorCollection ValidateMessage(
string fileName
)
Public Shared Function ValidateMessage (
fileName As String
) As EmlValidationErrorCollection
public:
static EmlValidationErrorCollection^ ValidateMessage(
String^ fileName
)
static member ValidateMessage :
fileName : string -> EmlValidationErrorCollection
Parameters
- fileName
- Type: SystemString
A file name (eml).
Return Value
Type:
EmlValidationErrorCollectionA
EmlValidationErrorCollection containing the found validation error messages.
Exceptions
See Also