Copied to clipboard

Flag this post as spam?

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

  • Heiko Luxenhofer 38 posts 138 karma points
    Jul 02, 2015 @ 09:28
    Heiko Luxenhofer

    Sending Newsletter Error


    we wanted to send out Newsletter to Member group. This exception is shown when start sending:

     NewsletterStudio, SendNewsletterService: Ein Element mit dem gleichen Schlüssel wurde bereits hinzugefügt. :    bei System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
       bei NewsletterStudio.Bll.Providers.UmbracoNewSubscriptionProvider.GetSubscribersForSendOut(String listItemValue, SendOutParams parameters)
       bei NewsletterStudio.Bll.Providers.SubscriptionProviderFactory.GetReceiversBySubscriptionAlias(String value, SendOutParams parameters)
       bei NewsletterStudio.Services.EmailTrackingItemService.CreateTrackingItems()
       bei NewsletterStudio.Services.SendNewsletterService.SendEmails()

    It works for normal member type without any custom properties. We have a special member type where we need custom properties. But if we send to these, exception is thrown.

    Does anybody have solution?


  • Markus Johansson 1761 posts 5142 karma points c-trib
    Jul 02, 2015 @ 15:33
    Markus Johansson


    I guess that the problem is that there are a custom property that collide with the built in standard properties?

    var data = new Dictionary

    foreach (var property in member.PropertyTypes) { data.Add(property.Alias, member.GetValue(property.Alias)); }

    If you have a custom property called email, username, loginname, login or name that's probably the problem?

    If you can't change the name - I could share the source code so that you can make your own custom provider.

    Please send me an email: markus [at sign goes here]


    // m

Please Sign in or register to post replies

Write your reply to: