Cannot open email in non default store using the outlook protocol.

S

Sreenivas

I use url of the form outlook:<EntryId> for emails in outlook. When I
have
the email in my non default store and outlook is not running then this
link is not working. If we have the email in default store then this
link will work even of outlook is not working.

One solution to this is start outlook before using the link. I did not
prefer this because if we start outlook application ourselves then we
have to take care of closing it which is hard to handle in my case.
But if we could somehow start outlook with parameters to open the
particular item then we need not worry about closing. For doing this
we need knowledge of outlook protocol. I don't find any where we have.

Also I was wondering why we need not specify the StoreId in the
outlook link. Do we have any clear documentation of the outlook
protocol anywhere (Any books have this information?)


Thanks in advance for your help.
 
S

Sue Mosher [MVP-Outlook]

An Outlook: link does not include the StoreID. You haven't said anything
about your application. The solution is to touch the desired store before
using a link that has only an entry ID in it. Alternatively, use the full
path to the item in the link; see http://www.slipstick.com/outlook/links.htm
 
T

thsree

I am developing a web UI for outlook. I will basically store all entry
ids of the emails along with the folder name. If the user clicks on any
mail from my UI I will use outlook protocol to open the item in
outlook. There is no problem for mails in default store but for mails
that are in non default store "Cannot open outlook" error comes. I
tried the same situation from Start->Run, the result is the same. If we
have outlook running in your system then there is no problem at all.

I did not understand what you mean by touch the store. Also do you mean
by full path outlook://<StoreName>/<FolderName>/~Subject. This I tried
but do not work always.

Thank you very much for your time
 
S

Sue Mosher [MVP-Outlook]

"touch the store" means to run Outlook automation code that accesses that
particular information store.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top