Dodawanie plików do PST w Pythonie
Contents
[
Hide
]
Aspose.Email - Dodawanie plików do PST
Aby dodać pliki do PST przy użyciu Aspose.Email Java for Python, użyj poniższego kodu.
Kod Python
personalStorage = self.PersonalStorage
fileFormatVersion = self.FileFormatVersion
pst = personalStorage.create(self.dataDir + \"AddFile1.pst\", fileFormatVersion.Unicode)
standardIpmFolder = self.StandardIpmFolder
fi = pst.createPredefinedFolder(\"Inbox\", standardIpmFolder.Inbox)
fi.addFile(self.dataDir + \"Report.xlsx\", \"IPM.Document.Excel.Sheet.8\")
pst.dispose()
print \"Added file to PST\"Pobierz działający kod
Pobierz Adding Files to PST (Aspose.Email) z dowolnego z wymienionych poniżej serwisów kodowania społecznościowego: