How to send emails with Reply-To set? I've tried this
MailMessage m = new MailMessage();
m.To = "
[email protected]";
m.From = "
[email protected]";
m.Headers.Add("Reply-To", "
[email protected]");
m.Subject = strSubject;
m.Body = strEmailBody;
this.SendMail(m.To, m.From, m.Subject, m.Body);
The mail sends ok, but when I reply, it's to
[email protected] -- ignoring the Reply-To header. Also, the header does not appear in header info.
I've tried Return-Path in place of Reply-To, with similar results. I've tried sending to Outlook and Yahoo mail.