---
title: "Object Definition Mailing"
description: "Object definition mailing"
canonical: "https://docs.cm.com/mobile-marketing-cloud/email-campaigns/mailings/object-definition-mailing"
---

# Object Definition Mailing

> Object definition mailing

Source: https://docs.cm.com/mobile-marketing-cloud/email-campaigns/mailings/object-definition-mailing

## Object definition mailing

<table>
  <thead>
    <tr>
      <th>Property</th>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>ID</td>
      <td>Guid</td>
      <td>The ID of the mailing</td>
    </tr>

    <tr>
      <td>AccountID</td>
      <td>Guid</td>
      <td>The accountID of the mailing</td>
    </tr>

    <tr>
      <td>Name</td>
      <td>String</td>
      <td>The name of the mailing or the language of the multilanguage variant</td>
    </tr>

    <tr>
      <td>FromName</td>
      <td>String</td>
      <td>The from name to use in your mailing. Leave null if you want to use the email address only.</td>
    </tr>

    <tr>
      <td>FromAddressID</td>
      <td>Guid</td>
      <td>The ID of the from address you want to send with. Make sure this address is verified first.</td>
    </tr>

    <tr>
      <td>ReplyToAddressID</td>
      <td>Guid</td>
      <td>The ID of the address you want the recipient to reply to when he clicks the reply button. Make sure this address is verified first.</td>
    </tr>

    <tr>
      <td>Subject</td>
      <td>String</td>
      <td ng-non-bindable>The subject of your mailing. The subject can include merge fields as well, for example: Hi \{\{ Recipient.FirstName }}, see this awesome mail!</td>
    </tr>

    <tr>
      <td>MailingState</td>
      <td>Int (Enum)</td>

      <td>
        The state of the mailing<br />
        1 = Saved, mailing is saved and can be send later.<br />
        2 = Ready for sending, mailing will be send right away or on the scheduled date.<br />
        3 = Picked up by queuer, this mailing is currently being picked up to send.<br />
        4 = Processed, this mailing has been processed.<br />
        5 = Stopped, this mailing has been stopped due to a too high bounce or complaint rate.<br />
        6 = OutOfCredits, this mailing has been stopped due to not having enough credits for sending the emails.<br />
      </td>
    </tr>

    <tr>
      <td>MailingType</td>
      <td>Int (Enum)</td>

      <td>
        The type of the mailing <br />
        1 = Newsletter mailing<br />
        2 = Test campaign<br />
        3 = Triggered mailing<br />
        4 = Test triggered<br />
        5 = AB test variation<br />
        6 = AB test result<br />
        7 = Newsletter language variation<br />
        8 = Triggered language variation<br />
      </td>
    </tr>

    <tr>
      <td>Template</td>
      <td>Object</td>
      <td>The template for this mailing. See the template object definition</td>
    </tr>

    <tr>
      <td>CreatedOn</td>
      <td>DateTime</td>
      <td>When the mailing was created in CET</td>
    </tr>

    <tr>
      <td>CreatedOnUtc</td>
      <td>DateTime</td>
      <td>When the mailing was created in UTC</td>
    </tr>

    <tr>
      <td>ModifiedOn</td>
      <td>DateTime</td>
      <td>When the mailing was last modified in CET</td>
    </tr>

    <tr>
      <td>ModifiedOnUtc</td>
      <td>DateTime</td>
      <td>When the mailing was last modified in UTC</td>
    </tr>

    <tr>
      <td>DeletedOn</td>
      <td>DateTime</td>
      <td>When the mailing was deleted in CET</td>
    </tr>

    <tr>
      <td>DeletedOnUtc</td>
      <td>DateTime</td>
      <td>When the mailing was deleted in UTC</td>
    </tr>
  </tbody>
</table>

## Object definition statistics

<table>
  <thead>
    <tr>
      <th>Property</th>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>MailingID</td>
      <td>Guid</td>
      <td>The ID of the mailing</td>
    </tr>

    <tr>
      <td>Total</td>
      <td>Int</td>
      <td>Total number of recipients</td>
    </tr>

    <tr>
      <td>Statistics</td>
      <td>Array of object</td>
      <td>Statistiscs per state, see statistic object definition</td>
    </tr>
  </tbody>
</table>

## Object definition statistic

<table>
  <thead>
    <tr>
      <th>Property</th>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>StatusID</td>
      <td>Int</td>
      <td>The ID of status</td>
    </tr>

    <tr>
      <td>Status</td>
      <td>String</td>
      <td>The name of the status</td>
    </tr>

    <tr>
      <td>NumberOfItems</td>
      <td>Int</td>
      <td>Number of items with this status</td>
    </tr>
  </tbody>
</table>
