I want to implamant this bounce handling protocol in .NET but after I researched abit I found out that the basic classes that come with .NET don't support envelope assignment required by VERP
Is there a work around or another method?
I want to implamant this bounce handling protocol in .NET but after I researched abit I found out that the basic classes that come with .NET don't support envelope assignment required by VERP
Is there a work around or another method?
You can definitely implement VERP using
System.Net.Mail
, just generate a uniquefrom
address for eachto
address, then when the message bounces, yourcatch-all
email account will receive it and you will know whatto
address to invalidate.Here's a step-by-step example:
someuser@somedomain.com
.from
address from a GUID, for example: F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4-customers@mydomain.comfrom
address above with theto
address.catch-all
inbox where the recepient isF9168C5E-CEB2-4faa-B6BF-329BF39FA1E4-customers@mydomain.com
, therefore...someuser@somedomain.com
in your DB.