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.
Sending Newsletter Error
Hi,
we wanted to send out Newsletter to Member group. This exception is shown when start sending:
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?
Heiko
Hi!
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] enkelmedia.se
Cheers!
// m
is working on a reply...