I am implementing a mailing list using using .NET. As discussed in this answer, I need to send an email where the recipient of the envelope is different from the recipient in the To header. How to achieve this in C#? The SmtpClient and MailMessage classes in System.Net.Mail doens't seem to permit this.
I tried:
message.To.Add("list@example.com");
message.Headers["Envelope-to"] = "user@example.com";
but the mail doesn't get sent to what it is specified in the Envelope-to.
Any suggestions?