Working with email campaigns
You use the Email Campaigns module to create email campaigns, manage lists of subscribers, and testing AB campaigns.
This section provides you with an overview of Email Campaigns module API and guides you through the common tasks when working with Email Campaigns module.
The section contains the following:
-
Working with message bodies
Describes how to create, query, modify and delete message bodies. This section also explains how to use parameters inside the text of the bodies.
-
Working with mailing lists
Describes how to create, query, modify and delete mailing lists.
-
Working with subscribers
Describes how to create, query, modify and delete subscribers. This section also explains how to subscribe/unsubscribe an already existing subscriber to/from a mailing list.
-
Working with campaigns
Describes how to create, query, modify, schedule, send and delete campaigns.
-
Working with AB campaigns
Describes how to create, query, modify, schedule, send and delete AB campaigns. This section also explains how to specify a winning condition and test sample percentage.
To work with Email Campaigns module through the Native API, you must perform the following:
-
Add the following namespaces to your class:
using Telerik.Sitefinity.Modules.Newsletters;
using Telerik.Sitefinity.Newsletters.Model;
-
Get an instance of the manager for the Email Campaigns module.
NewslettersManager manager = NewslettersManager.GetManager();
The NewslettersManager class exposes the various methods that you need to work with the Email Campaigns module. For more information, see the topics in this section.