Validate Email Messages (EML) with Aspose.Email for Java

Validate Email Messages

Aspose.Email for Java 1.4.0 has been released. This release includes the latest improvements made to the Aspose.Email for Java component.

An attractive feature of Aspose.Email is the ability to validate EML. The MailMessage class has exposed a new static method, ValidateMessage, that accepts an EML file through a file path or as a stream and returns an object of EmlValidationErrorCollection. If the returned collection is empty then no validation problems have been detected. Else, you may parse the collection to retrieve EmlValidationError objects. You can also inspect the cause of validation failure by using EmlValidationError class members like getErrorMessage(), getErrorType() and getLineNumber().

To download the release, please visit the download area.

As usual, we can answer any questions you have in the product forum.