Is there any other way to store some data in Outlook apart from StorageItem? RRS feed

  • Question

  • Hi,

    I have an Add-In where user enter's his credentials once. The requirement is that I need to save this somewhere and indicate that user has logged in even after user restarted Outlook. I tried using StorageItem, but looks like it's not available for IMAP (like Gmail). Is there any alternate way to permanently save some data?

    Thanks in advance.


    Wednesday, August 19, 2015 6:31 PM


  • Hello Prasad,

    Please remember that you develop a VSTO based add-in, so you can use all the features of the .net framework and Windows. I'd suggest using the windows registry for keeping user-specific information. So, at the startup time you can read the information back and if it is not available ask users to enter credentials.

    Wednesday, August 19, 2015 7:02 PM