Try our conversational search powered by Generative AI!

Getting bounced addresses



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?


Jun 30, 2009 8:22

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.
Jun 30, 2009 15:55

So it's not possible to get the bounce from my customSource without making a http-listener?

Nov 15, 2010 14:42
This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.