简体   繁体   中英

How to get original sender of a forwarded email with Outlook interop?

I'm developing an add in for Outlook 2010 and I need to be able to retrieve the sender's email address for a MailItem or the email address of the original sender if it is aa forwarded email. Is there any easy way to do that second one besides parsing through the body of the email?

Use OutlookSpy and see if there is any MAPI property exposed that gives you the data you are looking for.

Download it from here http://www.dimastr.com/outspy/

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM