Subscribers.Add
Overview
Allows you to add a subscriber to a listSyntax
Subscribers.Add(1, 2)
| 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"});