MailchimpAPI::AddSubscriber (open)
Subscribe a user
Syntax
LOADLIB "mod::system/lib/webapi/mail/mailchimp.whlib";
RECORD FUNCTION AddSubscriber(STRING listid, STRING email, RECORD options)Parameters
STRING listidSTRING emailRECORD optionsOptions
RECORD ARRAY customfieldsCustom fields to add
BOOLEAN resubscribeUpdate the status to 'subscribed', even if not new
Return value
RECORDDescription
Optionally supplies custom data.
Note that you must create custom fields through the webinterface before you can use them (and you will not get an error when setting a nonexisting custom field)