Created
August 26, 2013 21:41
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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