Sender Profile Functions

These functions allow you to access and control sender profiles within your Marketing Cloud account. These functions work only with landing pages and cannot function in email messages at send time.

Load

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.

Initialization

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.