AMPscript
Add
Remove
Retrieve
Update
Validate Your Server-Side JavaScript using WSProxy
Adds a send classification to the account
Add(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | object | Required | JSON object representing new send classification properties |
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);