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.

Load 

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.

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’.

1var myProfile = SenderProfile.Init('mySenderProfile');

Once you initialize the sender profile, you can use the applicable functions.