Can someone please send me an code example of how to use the recipient provider for email marketing?
Developer forum
E-mail notifications
Recipient provider
Martin Grønbekk Moen
Replies
Morten Bengtson
Posted on 19/11/2019 14:26:30
Hi Martin,
Do you want to write your own custom recipient provider or do you want to get a list of recipients from an existing provider?
Martin Grønbekk Moen
Posted on 19/11/2019 15:02:05
I want to write my own. A good example would be to see how the provider for "Forgotten baskets" is written.
Morten Bengtson
Posted on 19/11/2019 15:28:25
This post has been marked as an answer
You can implement your own recipient provider by creating a class that inherits from Dynamicweb.EmailMarketing.EmailRecipientProvider and then implement a method override for GetRecipients().
A recipient provider is a configurable add-in. This means that you can provide custom configuration settings by adding properties with AddInParameter attributes.
See attached source code from the abandoned cart recipient provider.
Best regards,
Morten
Votes for this answer: 1
You must be logged in to post in the forum