AMPscript
Add
Check Content
Remove
Retrieve
Update
Validate
Validate Your Server-Side JavaScript using WSProxy
Runs content checks on the initialized email and returns a JSON object indicating the result of the content check and any identified issues
CheckContent()
This sample code calls CheckContent() on the initialized email object and writes out the results from the returned JSON object:
1var myEmail = Email.Init("myEmail");
2var results = myEmail.CheckContent();
3Write(results.Task.CheckPassed);
4Write(results.Task.ResultMessage);