I have built a custom recipient source that fetched mail-recipients from our own external database and it works perfectly by implementing the EPiServer.Mail.Core.Sources.IRecipientSource inferface. I have one problem though. How do I catch the bounced emailadresses coming back from EPiServers mailcluster via the EPiServerMailService.asmx webservice. My guess was that it is done by implementing the logic in the method AddBouncedAddress in the custom recipient source. I tried that but it is not executed. When is the AddBouncedAddress-method called? What do I use it for? Is it possible to catch the incoming bounced addresses at all?
I'm sorry to tell you that currently bounce reports are just stored for statistics. Calling the AddBouncedAddress of the RecipientSources at bounce reporting will be implemented in future versions.
If you really need to implement this now, a workaround could be to write a http module that listens to the web service calls; using the messageId to fetch the Message object from the API. Then use the properties of your object in your own AddBouncedAddress call.
Hi!
I have built a custom recipient source that fetched mail-recipients from our own external database and it works perfectly by implementing the EPiServer.Mail.Core.Sources.IRecipientSource inferface. I have one problem though. How do I catch the bounced emailadresses coming back from EPiServers mailcluster via the EPiServerMailService.asmx webservice. My guess was that it is done by implementing the logic in the method AddBouncedAddress in the custom recipient source. I tried that but it is not executed. When is the AddBouncedAddress-method called? What do I use it for? Is it possible to catch the incoming bounced addresses at all?
Thx!