MailMessageValidateMessage Method (Stream)

Validate eml message for corresponding to mime specification.

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public static EmlValidationErrorCollection ValidateMessage(
	Stream stream
)

Parameters

stream
Type: System.IOStream
A stream containing the message in eml format.

Return Value

Type: EmlValidationErrorCollection
A EmlValidationErrorCollection containing the found validation error messages.
Exceptions
ExceptionCondition
ArgumentNullExceptionstream is null.
See Also