Restore archived mail / api
Hi there,
I have a similar problem as mentioned in this thread: https://www-secure.symantec.com/connect/forums/fetch-mail-andor-mail-entryid-ev-sdk
I want to unarchive an email from outside the enterprise vault http-only addin - in my custom outlook addin. I know there is no support for what I am doing, but for the convenience of the users I would risk it.
As far as I understand it should be two steps to replace the archived mail with the original:
- Set the mail MessageClass to “IPM.Note.EnterpriseVault.Shortcut.RestoreMe”;
- Do a http call to the enterprise vault webservice (got it from fiddler).
I can easily do step 1 - in step 2. I get an http 200 so I assume I did everything correctly.
But now the mail is not replaced - is there something I am missing?
Thanks a lot!
Max
You also need to set the action time stamp property, which is a property that the server side looks for in order to perform the restore request. The restore request sent via HTTP also passes that property. Then the server side will need to be traced (as mentioned earlier) to see if it is then actioning things correctly. [It takes in the parameters off the HTTP request and will look for messages in a particular mailbox/archive and for that all import time stamp]