Free Support Forum -

Covnerting Exchange folder to PST


How i convet exchange foldr to PST?

Hi Aaron,

Thank you for posting your inquiry.

You can backup your Exchange server folder to PST as shown in the following code sample. Please try it at your end and share your feedback with us.


// Create instance of IEWSClient class by providing credentials

const string mailboxUri = “”;

const string domain = @"";

const string username = @“username”;

const string password = @“password”;

NetworkCredential credential = new NetworkCredential(username, password, domain);

IEWSClient client = EWSClient.GetEWSClient(mailboxUri, credential);

// Get Exchange mailbox info of other email account

ExchangeMailboxInfo mailboxInfo = client.GetMailboxInfo();

ExchangeFolderInfo info = client.GetFolderInfo(mailboxInfo.InboxUri);

ExchangeFolderInfoCollection fc = new ExchangeFolderInfoCollection();


client.Backup(fc, “Backup.pst”, Aspose.Email.Outlook.Pst.BackupOptions.None);


And wat abt Exchange EDB to PST? Is it supported?

Hi Aaron,

We have this feature request registered in our tracking system as EMAILNET-33173, but it is not supported at the moment as there are no open specifications available for EDB format at the moment. We have requested Product team’s feedback about any such


Is there any update?


We won’t be able to implement this feature due to non-availability of specifications for Exchange EDB file formats. Please feel free to write to us if you have any further query related to API.