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.
+1
A:
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.
nosklo
2009-11-25 09:27:29
is mbox format same as eml format?
pap
2009-11-25 10:37:54
@pap, no: http://en.wikipedia.org/wiki/E-mail#Filename_extensions, but you can convert: http://www.google.com/search?q=mbox+to+eml
John Paulett
2009-11-25 23:53:35