Reputation:
Is there any python code to convert outlook pst mails to eml format. Please also suggest for any such code in some other language. Thank you.
Upvotes: 0
Views: 8609
Reputation: 223122
import subprocess
def convert_pst_to_mbox(pstfilename, outputfolder):
subprocess.call(['readpst', '-o', outputfolder, '-r', pstfilename])
Of course, you must install libpst utilities for that to work.
Upvotes: 1