I'm developing a email manager application(like outlook) in C# and I want to do a reply function, but how I can get the email address of the user that sent the email that will be replyed? Thanks.
Is this what you're looking for?
System.Web.Mail.MailMessage receivedMessage = GetMail(); string replyTo = receivedMessage.From;
I don't know how you are parsing the message you are replying to, but the information you are looking for is part of the e-mail headers. Generally there will be a Reply-to header, with the e-mail address you should sent any replies to.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.