I am trying to solve a problem with C#. I am able to import PST to outlook. Then use Import and Export option of Outlook to convert a folder within PST (chats) to CSV. how can i do the same using C#? If there is anyone who can help me with the code or give me link to any reference, it would be of great help.
Thanks
It is not clear what exactly you want to export. Anyway, you may find the C# app automates Outlook (CSAutomateOutlook) sample project helpful.
It looks like you need to iterate over all folders and grab the required information. The How to: Enumerate Folders page is a good start for you.