In Outlook, we have the "Direct replies to" option setting when we compose an email, which is used to override when recipient replies.
Is there any way to do the same through SmtpClient class in C#?
There is a 'ReplyToList' property on the 'MailMessage' class. The ReplyTo is set on the message, not the SmtpClient
http://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage.aspx
http://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage.replytolist.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With