Last active
June 3, 2024 20:24
-
-
Save conholdate-gists/fd371ebc99fd63909dcff8ba2529846b to your computer and use it in GitHub Desktop.
Convert OST to PST in C# | Email Conversion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Load the source OST file from the disk | |
using (Aspose.Email.Storage.Pst.PersonalStorage personalOSTStorage = Aspose.Email.Storage.Pst.PersonalStorage.FromFile("Sample.ost")) | |
{ | |
// Conver OST to PST | |
personalOSTStorage.SaveAs("ConvertedOst.pst", Aspose.Email.Storage.Pst.FileFormat.Pst); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment