Covnerting Exchange folder to PST


#1

Hi,

How i convet exchange foldr to PST?


#2

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.

Code:



// Create instance of IEWSClient class by providing credentials

const string mailboxUri = “https://ews.domain.com/ews/Exchange.asmx”;

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();


fc.Add(info);


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

#3

THanks.

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


#4

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

#6

Hi,

Is there any update?


#7

@AaronShameel,

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.