I have been trying to build a program where I can capture/import/extract/retrieve information from fields in an open Outlook email item. I need to retrieve the To, From, Subject and email body. I am using Outlook 2016.
I have been able to pull in all emails from the INBOX folder. However, I have not been able to isolate it to retrieve information in the aforementioned fields from just a singular, open Outlook email item. Can somebody point me to a tutorial or code where only the open email's data has been retrieved? Code examples would be very helpful.
