Sender Profile Functions
These functions allow you to access and control sender profiles within your Marketing Cloud Engagement account. These functions work only with landing pages and can’t function in email messages at send time.
In your server-side JavaScript code, first load the core library using this syntax:
Use this sample code as a model to construct your own server-side JavaScript code.
To interact with a sender profile via server-side JavaScript, you must first initialize the object. The code below initializes a sender profile with the external key of 'mySenderProfile'.
Once you initialize the sender profile, you can use the applicable functions.