Search code examples
.netvstooutlook-addinpst

Creating a pst programmatically from an outlook vsto Addin


is it possible to programmatically create a PST file from and outlook vsto Addin as a response to button click with some default values (name, path, etc)?.

I can not find a COM api that allows me to do that.


Solution

  • Sure, call Namespace.AddStore or Namespace.AddStoreEx.