How to set the bounce address using System.Net.Mail?
Posted
by Anthony
on Stack Overflow
See other posts from Stack Overflow
or by Anthony
Published on 2010-01-16T11:17:43Z
Indexed on
2010/05/08
22:08 UTC
Read the original article
Hit count: 268
I'm trying to implement the Variable envelope return path (VERP) method to manage email addresses (ie when an email I send bounces back I want it to be sent to a specific email address so that I can update my database to avoid sending emails to that email address in the future).
According to this article it is possible to specify the email address a bounce email is sent to. How do you do this in .Net?
For example say I ([email protected]) want to send an email to you ([email protected]). If [email protected] doesn't exist anymore I want yourserver to send the bounce email to [email protected]). This way when I receive this bounced email I know that [email protected] is not a valid email address anymore and I can update my database accordingly.
In this example, the bounce address would be: [email protected]
How do you specify it using System.Net.Mail?
© Stack Overflow or respective owner