---
schema_version: "1"
id: 402fd1faedab131e5cf54e9c2212ce6521052264ab156357bc7a884fdab9b58f
title: CheckContent
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_emailCheckContent.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_emailCheckContent.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4c2be66c89a01e32724673001820f0f5b1bc683bf6421a75d2bec8f51b4495f4
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# CheckContent

## Overview

Runs content checks on the initialized email and returns a JSON object indicating the result of the content check and any identified issues

### Syntax

CheckContent()

## Example

This sample code calls CheckContent() on the initialized email object and writes out the results from the returned JSON object:

```
var myEmail = Email.Init("myEmail");
var results = myEmail.CheckContent();
Write(results.Task.CheckPassed);
Write(results.Task.ResultMessage);
```
