So my problem, I need to create a button in my outlook mail, when a user click on that button i need to show one windows form, there user can select a account number from dropdown AND the user can select the folder from a tree view, based on the selection, the selected mail should go and save there with the attachments if any.
so this is i need to acheive
to achieve the above, i started with creating Office Outlook Vsto Addin template in Visual studio 2015. And using the ribbon.xml i was able to show the button in ribbon area, but what i need to do is to show this button in each mail body. So once the user done reading the mail, they can directly click on that button, that will show my windows form.
So using that form user can select account number and the desired folder to which the selected mail need to save. Once we click OK button, the mail should go and save with the attachments if any in the selected folder.
How do i code to achieve this?