AMPscript
Add
CancelSend
Remove
Retrieve
RetrieveLists
Validate Your Server-Side JavaScript using WSProxy
These functions allow you to access and control how emails are sent from your Marketing Cloud Engagement account.
In your server-side JavaScript code, first load the core library using the syntax below:
1Platform.Load("core","1");Use this sample code as a model for your own server-side JavaScript code.
To interact with an existing send via server-side JavaScript, you must first initialize the object. This code initializes a send with a send ID of 12345:
1var s = Send.Init(12345);Once you initialize the send, you can use the other applicable functions.