Search code examples
c#outlookaddin-express

How to get outlook email Subject using add-in express


I am new to Add-In express outlook development. I am working with sample project getting email subject when select the email and clicking the button get the subject details in the popup window.

thanks in advance.


Solution

  • Use Application.ActiveExplorer.Selection collection. Loop through all items in that collection and read the MailItem.Subject property.