MailItem Name

C

Christie Sorenson

Hi,
I have an outlook addin. When I save a message to a
particular public folder, I create a record in my database
so that I can later reference this message from my
intranet application.

My problem is that if the user deletes the message
reference in the intranet, we want to move the message to
a different public folder. I use webdav and I know how to
do the move IF I had the full path of the mailitem. But,
I have no idea how to get that either through webdav or
through OOM (or extended MAPI).

Can someone help please?
Thank you!
Christie
 
S

Sue Mosher [MVP-Outlook]

Have your intranet application store the item's EntryID, which you can use
with Outlook's Namespace.GetItemFromID method to return the item.

Perhaps WebDAV has something similar.
 
C

Christie Sorenson

Sorry if I was unclear, I'm in the addin when I add the
record to the DB. I can store the entryID, but there is
no way to get the href with the entryID though WebDAV.
Basically, I need to get the name of the file the message
is stored to from the addin. If there is no way to do
this, I'll have to figure out another WebDAV method, but
that's not a question for this group. :)

Thanks!
Christie
 
S

Sue Mosher [MVP-Outlook]

WebDAV questions would be better discussed perhaps in
microsoft.public.exchange.applications.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Top