Forum Discussion

BruGuy's avatar
BruGuy
Level 6
12 years ago

How can I programatically retrieve archived mail items as msg files?

Hello,

I'm writing a program which needs to save archived mail items as .msg files. What's the standard way of doing that please? Can I use a http GET, or do I need to use EV APIs? Any examples out there?

I have access to stub and its shortcut data. Environment is Exchange 2003/2010 and EV904.

Thanks,

- Alan.

  • OK so through download.asp you will need an account to have read access on the mailbox and then use EVPM to give READ access to the archive itself. However, this is probably inefficient because you're going to start hammering IIS with individual requests, possible like 30,000 requests to retrieve items. plus if any errors occur, you're just going to know that the item couldn't be downloaded, but not why, but if you use the API you can see what the last error was. For the API stuff, it absolutely has to be the EVAdmin without giving extra permissions to archives, but the API is really easy to program for, the only draw back may be if you wanted end users to be able to run the app themselves, then it will fail as for the STEP program, it's not free and is a sizeable amount, but is aimed at third party app developers such as GlobaNet, TransVault, BlueSource etc