CreateSendAPI::AddSubscriber (open)
Subscribe a user
Syntax
LOADLIB "mod::system/lib/webapi/mail/createsend.whlib";
RECORD FUNCTION AddSubscriber(STRING listid, STRING name, STRING email, RECORD options)Parameters
STRING listidSTRING nameSTRING emailRECORD optionsOptions
RECORD ARRAY customfieldsCustom fields to add
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)