I have .pst file of outlook emails from which i want to extract the emails. what approach should I follow to extract the emails from this. i'm writing python code for it.
data extraction from .pst file without using third party library. is it possible or not?
I have .pst file of outlook emails from which i want to extract the emails. what approach should I follow to extract the emails from this. i'm writing python code for it.
data extraction from .pst file without using third party library. is it possible or not?
Share Improve this question asked Feb 14 at 15:37 Sushant Singh NegiSushant Singh Negi 11 Answer
Reset to default 0If you don't want any third part libraries, then Outlook Object Model is your only choice - use Namespace.AddStore
/AddStoreEX
. Keep in mind that it does not return the newly added store, you'd need to get it from the Namespace.Stores
collection. Once you have the Store
object, you can recursively drill down the folder hierarchy (starting with Store.GetRootFolder()
) to access folder messages.