Skip to content

Instantly share code, notes, and snippets.

@stevewithington
Created August 26, 2013 21:41
Show Gist options
  • Save stevewithington/6347004 to your computer and use it in GitHub Desktop.
Save stevewithington/6347004 to your computer and use it in GitHub Desktop.
Mura CMS : How to obtain a recordset of members of a specific mailing list.
<cfscript>
// first, obtain the mailing list ID
mlid = $.getBean('mailingListBean').loadBy(
name = 'Mailing List Name Goes Here'
, siteid = $.event('siteid')
).getMLID();
mlm = $.getBean('mailingListManager');
// recordset
rsMailingListMembers = mlm.getListMembers(
mlid = mlid
, siteid = $.event('siteid')
);
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment