daily pastebin goal
95%
SHARE
TWEET

Untitled

a guest Mar 20th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var sendingManagerFactory =
  2. ServiceLocator.ServiceProvider.GetService<ISendingManagerFactory>();
  3. var campaignService = ServiceLocator.ServiceProvider.GetService<IExmCampaignService>();
  4.  
  5. MessageItem emailCampaign = campaignService.GetMessageItem(emailCampaignId);
  6.  
  7. ISendingManager sendingManager = sendingManagerFactory.GetAsyncSendingManager(emailCampaign);
  8.  
  9. sendingManager.SendMessage();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top