AMPscript
Add
Pause
Publish
Retrieve
Send
Start
Update
Validate Your Server-Side JavaScript using WSProxy
Adds a triggered send to your account and returns an initialized object if successful
Add(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Properties of the new triggered send |
This sample code adds a triggered send to your account:
1var newTSD = {
2 "Name" : "Test TSD",
3 "CustomerKey" : "ssjs_tsd_key",
4 "FromName" : "Test From Name",
5 "FromAddress" : "me@example.com",
6 "EmailID" : 12345,
7 "SendClassificationID" : 54321
8};
9var tsd = TriggeredSend.Add(newTSD);