Developer forum

Forum » Development » Inheriting from EmailRecipientProvider or AccessUserRecipientProvider hides the 'to' field

Inheriting from EmailRecipientProvider or AccessUserRecipientProvider hides the 'to' field

Tim Koster
Reply

I need to add some extra code to UnsubscribeRecipient method to let our integration immediately know a person has unsubscribed, so I've inherited AccessUserRecipientProvider because all the other base functionality works fine for me and it already has all the info I need. 

Problem is that having a custom recipient provider hides the 'to' box
AccessUserRecipientProvider: 


AccessUserRecipientProviderButWithExtraFunctionality: (provider is called Dynamicweb Users because I hoped that would fix it)

How do keep the 'to' box in my custom recipient provider? Or is there a hook for unsubscribtion that I can use? 


Replies

 
Tim Koster
Reply
This post has been marked as an answer

I've found a somewhat working solution: the UserSaved notification seems to proc whenever a user is unsubscribed, so I can avoid making a custom provider for this

Votes for this answer: 1

 

You must be logged in to post in the forum