Add

Overview 

Adds a send classification to the account

Syntax 

Add(1)

Function Properties 

OrdinalTypeDescription
1objectRequiredJSON object representing new send classification properties

Example 

This sample code adds a send classification to your account:

1var newSC = {
2    CustomerKey : "mySCKey",
3    Name : "SSJS Test SC",
4    Description : "Test SSJS description",
5    SenderProfileKey : "mySPKey",
6    DeliveryProfileKey : "myDPKey"
7};
8
9SendClassification.Add(newSC);