12-16-2013 05:22 AM
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:
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
Solved! Go to Solution.
01-02-2014 06:53 AM
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]
12-16-2013 06:51 AM
Hi Max,
The HTTP 200 is just IIS telling you that the request was received and had no errors. You can collect a dtrace while you are running your code to see what is ocurring in the Enterprise Vault server after the request is received
12-17-2013 01:00 AM
Hi GabeV,
thanks - what is a dtrace? Can I do this externally or do I have to go to the guys running the EV server? Asking them takes at least a month right before XMAS...
Am I doing all steps correctly or is there something else I have to do to mark an email to get replaced? I assume there is something missing because when I mark one for unarchiving with my addin and then mark one with the EV http-only addin my marked email is not replaced (only the icon changes) but the original one is.
Thanks!
Max
12-31-2013 08:59 AM
Hi Max,
You will need to work with the EV Admin as it needs to be ran on the EV server. They should know how to run the trace.
Regards,
12-31-2013 09:04 AM
01-02-2014 03:17 AM
The answer is simplicity or User Experience.
The reason why I have to write it is that my addin upload emails to SharePoint - the user can select several hundred emails. If there are vaulted mails, its "too complicated" for the enduser to first unvault and then upload. One step would be easier.
So can you point me to the missing step?
01-02-2014 03:19 AM
Its really not possible in a large organization to get the guy responsible for EV - maybe he has left the company already... as I traced the http communication of the http addin, there is no more steps involved over HTTP. It has to be something that happens with the mail item - can you please point me in the right direction?
Thanks!
Max
01-02-2014 06:53 AM
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]
01-10-2014 07:42 AM
Hi Rob,
I thought so - here is a request that my addin does:
01-14-2014 09:20 AM
Okay, a step further. Rob helped me figure out that I need to set the property "Action Time Stamp".
Now I need to figure out how the parameter "pdl" is set - I assume this is the folder. Is that correct? How to generate that value?
Thanks!
Max