Email mailing lists

A mailing list is a set of subscribers. For example, subscribers that are interested in new forum posts in a forum thread, can form a subscription list for the forum thread. You can use the ISubscriptionListRequest interface to represent a subscription list. The provided SubscriptionListRequestProxy class implements the interface.

Creating a subscription list and adding a new subscriber to it

The following example shows how to create a subscription list and add new subscriber to it:

Adding an existing subscriber to an existing mailing list, using ID

For adding an existing subscriber to an existing mailing list using ID, see example below:

Adding an existing subscriber to an existing mailing list using ResolveKey

The sample below demonstrates how to add an existing subscriber to an existing mailing list using ResolveKey:

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?

Next article

Email message jobs