Subscribe
< Return to Method List
struct
Subscribe(structure
$details,
array $lists [,
boolean $skip_opt_in [,
boolean $update_existing]])
Subscribe a single subscriber. See also SubscribeBatch().
Parameters
struct details |
A keyed structure of subscriber data. Requires 'email', may contain any of these keys:
|
||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
array lists | An array of subscriber lists to move the subscriber into. | ||||||||||||||||||||||||||||||||||
boolean skip_opt_in | OPTIONAL. If TRUE, we won't send an opt-in email. Do not abuse this option. Default = FALSE. | ||||||||||||||||||||||||||||||||||
boolean update_existing | OPTIONAL. If TRUE and the subscriber email address already exists, we update their information. Default = TRUE. |
Return Value
struct |
Returns a keyed structure:
|
---|