Add

Overview

Adds a send classification to the account

Syntax

Add(1)

Function Properties

<!--complex table-->
Ordinal Type Description
1 object Required JSON object representing new send classification properties

Example

This sample code adds a send classification to your account:

var newSC = {
    CustomerKey : "mySCKey",
    Name : "SSJS Test SC",
    Description : "Test SSJS description",
    SenderProfileKey : "mySPKey",
    DeliveryProfileKey : "myDPKey"
};

SendClassification.Add(newSC);