pythonpython-2.7outlook-redemptionoutlook-2003

Redemption : AddPSTSTORE not setting Display_name


Store = SessionSrc.Stores.AddPSTStore(pst_path,1,'abc')

I am using this to add a pst file to attached pst's of Outlook.The problem is if i use the one below

Store = SessionSrc.Stores.AddPSTStore(pst_path,1)

It adds correctly with display_name of attached as Personal Folders.But when i provide a display_name to be set it doesnt use it and still add pst as Personal Folders.Is there a way to changes the display_name ?According to redemption documents , the 3rd optional argument is for setting display_name.Is it something different than what i am expecting?Do inform if more info is needed!!!

enter image description here


Solution

  • The PST provider sometimes ignores the specified displayed name when a PST store is added. Try to set the RDOStore.Name property after the store is added.