Schedule A/B test campaign

To schedule an AB campaign, you must use the NewslattersManager class. The following code sends a campaign through the Native API. ```C# using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Telerik.Sitefinity.Modules.Newsletters;

namespace Telerik.Sitefinity.Documentation.CodeSnippets.DevGuide.SitefinityEssentials.Modules.EmailCampaigns.ABCampaigns { public partial class EmailCampaignsSnippets { public void ScheduleABCampaign(Guid campaignId, DateTime deliveryDate) { NewslettersManager manager = NewslettersManager.GetManager(); manager.ScheduleCampaign(campaignId, deliveryDate); } } }

First, you initialize the NewslettersManager. Then, you call ScheduleCampaign to schedule the AB campaign.
Want to learn more?
Enhance your Sitefinity skills by enrolling in free training sessions. Become Sitefinity certified through Progress Education Community to strengthen your professional credentials.
New to Sitefinity?