Subscribers

A Subscriber is the person that subscribes to a list. A subscriber can be an existing User in Craft or an anonymous user. In either case, the Subscriber is identified by their email address.

A Subscriber can be added to multiple Lists but a Subscriber can only be added to a specific list once. A Subscriber can subscribe to any Element in Craft – Entries, Categories, Products, Users, Lists, etc.

When an email address is added to a Subscriber List, if the email address matches the address of a known User in Craft, a link can be created between the two.

See the Enable User Sync setting for more info.

Templating

Get All Lists belonging to a specific Subscriber

{% set subscriber = craft.sproutLists.subscribers     .email('[email protected]')     .one() %}      {% for list in subscriber.getLists().all() %} 	{{ list.name }} {% endfor %}