Validate

Runs validation checks on the initialized email and returns a JSON object indicating the result of the validation and any identified issues

Validate()

This sample code calls Validate() on the initialized email object and writes out the results from the returned JSON object: