SubscribeBatch
< Return to Method List
struct
SubscribeBatch(array
$subscribers,
array $lists [,
boolean $skip_opt_in [,
boolean $update_existing]])
Batch add subscribers to your lists. Cannot be used to re-add subscribers that are unsubscribed.
See also Subscribe().
NOTE: If working in version 1.0 gives you a 502 Error message, please try version 1.0.2.
Parameters
array subscribers |
An array of keyed structures of subscriber data. Requires 'email', may contain:
|
||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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:
|
---|