Overview
Allows you to add a subscriber to a list
Syntax
Subscribers.Add(1, 2)
Function Properties
<!--complex table-->| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Subscriber email address |
| 2 | string | Required | Additional subscriber attributes |
Example
This sample code adds the subscriber and that subscriber's first and last names.
var myList = List.Init("myList");
var status = myList.Subscribers.Add("aruiz@example.com",{FirstName:"Angel",LastName:"Ruiz"});