AMPscript
Add
Pause
Publish
Retrieve
Send
Start
Update
Validate Your Server-Side JavaScript using WSProxy
These functions allow access to the triggered email feature via server-side JavaScript.
In your server-side JavaScript code, first load the core library using this syntax:
1Platform.Load("core","1");Use this sample code as a model to construct your own server-side JavaScript code. You can’t use the associated functions in the context of an email message or email preview.
To use an object in conjunction with the Triggered Send Server-side JavaScript functions, you must first initialize that object. For example, if you plan to send to a triggered send using the external key value of “support”, use this sample code to initialize that triggered send:
1var triggeredSend = TriggeredSend.Init("support");Once you initialize an object, you can use that object in conjunction with the associated functions.