Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Aaron Drinkwater 5 posts 75 karma points
    Jun 02, 2017 @ 10:25
    Aaron Drinkwater
    0

    Newsletter Studio - Something probably went wrong during the send out

    Hi,

    • Umbraco v 7.3.4
    • Newsletter Studio v2.1.7

    We've been experiencing an intermittent problem with sending emails from Newsletter Studio. Sometimes it sends fine, but more often than not we receive the following error:

    NewsletterStudio, SendNewsletterService: Sequence contains no matching element : at System.Linq.Enumerable.First[TSource](IEnumerable1 source, Func2 predicate) at NewsletterStudio.Bll.Providers.SubscriptionProviderFactory.GetProviderByName(String uniqName) at NewsletterStudio.Bll.Providers.SubscriptionProviderFactory.GetReceiversBySubscriptionAlias(String value, SendOutParams parameters) at NewsletterStudio.Services.EmailTrackingItemService.CreateTrackingItems() at NewsletterStudio.Services.SendNewsletterService.SendEmails()

    Newsletter Studio Error

    I originally thought it was to do with a custom subscription provider, so I removed all custom functionality, and upgraded Newsletter Studio to the latest version but the problem persists.

    There doesn't seem to be any consistency to whether it will successfully send or not, and there are no errors in the logs, except that we are trying to send to Umbraco Member Groups (and not Newsletter Studio Mailing Lists).

    From what I can tell, it looks as though it's failing to find the SubscriptionProvider, however there is definitely not any Member Groups being added or removed.

    Is there anything I may have missed with configuration or any reason that Newsletter Studio might forget that a SubscriptionProvider exists?

  • Markus Johansson 1914 posts 5761 karma points MVP c-trib
    Jun 15, 2017 @ 14:57
    Markus Johansson
    0

    Hi!

    Does this happen only when you send to members? You said that you had the same issue but with a custom provider? Does it happen randomly or can you reproduce it?

    It might be that something goes wrong when the subscription provider is initiated and that the factory swallows the error.

    Did you find any other errors in the log? If you look in your configuration, are you using the "NewsletterStudio.Bll.Providers.UmbracoNewSubscriptionProvider"?

    Your config should look like this:

       <subscriptionProviders>
      <clear />
      <provider name="NewsletterStudioSubscriptionProvider" type="NewsletterStudio.Bll.Providers.NewsletterStudioSubscriptionProvider, NewsletterStudio" />
      <provider name="UmbracoNewSubscriptionProvider" type="NewsletterStudio.Bll.Providers.UmbracoNewSubscriptionProvider, NewsletterStudio" />
     </subscriptionProviders>
    

    // m

Please Sign in or register to post replies

Write your reply to:

Draft