PC Review


Reply
Thread Tools Rate Thread

How to access the Deleted Items Folder

 
 
escamoteur
Guest
Posts: n/a
 
      28th Aug 2009
Hi,

in the Default Store it's easy to access the "Deleted Items Folder" with GetDefaultFolder.

But how can I access the "Deleted Items Folder" of any other store?? I don't wan't to use the folder's name as this would make it
impossible to localize the add-in.

Best
Tom

 
Reply With Quote
 
 
 
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      28th Aug 2009
Is that other Exchange user's store? You can the nuse
Namespace.GetSharedDefaultFolder.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"escamoteur" <(E-Mail Removed)> wrote in message
newsCC156A3-23EE-4079-9C34-(E-Mail Removed)...
> Hi,
>
> in the Default Store it's easy to access the "Deleted Items Folder" with
> GetDefaultFolder.
>
> But how can I access the "Deleted Items Folder" of any other store?? I
> don't wan't to use the folder's name as this would make it impossible to
> localize the add-in.
>
> Best
> Tom



 
Reply With Quote
 
escamoteur
Guest
Posts: n/a
 
      28th Aug 2009
Sorry, I forgot. No it's a PST Store. I'm using Outlook 2007
Best
Tom

"Dmitry Streblechenko" <(E-Mail Removed)> schrieb im Newsbeitrag news:(E-Mail Removed)...
> Is that other Exchange user's store? You can the nuse
> Namespace.GetSharedDefaultFolder.
>
> --
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
> -
> "escamoteur" <(E-Mail Removed)> wrote in message
> newsCC156A3-23EE-4079-9C34-(E-Mail Removed)...
>> Hi,
>>
>> in the Default Store it's easy to access the "Deleted Items Folder" with
>> GetDefaultFolder.
>>
>> But how can I access the "Deleted Items Folder" of any other store?? I
>> don't wan't to use the folder's name as this would make it impossible to
>> localize the add-in.
>>
>> Best
>> Tom

>
>

 
Reply With Quote
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      29th Aug 2009
On the low level (Extended MAPI - C++ or Delphi), you would need to read the
PR_IPM_WASTEBASKET_ENTRYID property from that IMsgStore and use its value to
call IMsgStore::OpenEntry() to open the folder (IMAPIFolder)
Outlook would only let you open default folders from the default store in
the current profile or other Exchange user's mailbox.
<plug> Redemption woudl let you open default folders on the per-store
level - use RDOStore.GetDefaultFolder -
http://www.dimastr.com/redemption/rdo/rdostore.htm </plug>

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"escamoteur" <(E-Mail Removed)> wrote in message
news:C95470AA-FD10-4C68-826F-(E-Mail Removed)...
> Sorry, I forgot. No it's a PST Store. I'm using Outlook 2007
> Best
> Tom
>
> "Dmitry Streblechenko" <(E-Mail Removed)> schrieb im Newsbeitrag
> news:(E-Mail Removed)...
>> Is that other Exchange user's store? You can the nuse
>> Namespace.GetSharedDefaultFolder.
>>
>> --
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>> -
>> "escamoteur" <(E-Mail Removed)> wrote in message
>> newsCC156A3-23EE-4079-9C34-(E-Mail Removed)...
>>> Hi,
>>>
>>> in the Default Store it's easy to access the "Deleted Items Folder" with
>>> GetDefaultFolder.
>>>
>>> But how can I access the "Deleted Items Folder" of any other store?? I
>>> don't wan't to use the folder's name as this would make it impossible to
>>> localize the add-in.
>>>
>>> Best
>>> Tom

>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to access the Deleted Items Folder escamoteur Microsoft Outlook VBA Programming 3 29th Aug 2009 12:47 AM
How to access the Deleted Items Folder escamoteur Microsoft Outlook Interoperability 3 29th Aug 2009 12:47 AM
IMAP- automatically move deleted items to deleted items folder =?Utf-8?B?Y2RiYW5kZXJzb24=?= Microsoft Outlook Discussion 0 8th Nov 2005 08:02 PM
Unable to access the DELETED items folder =?Utf-8?B?Q2hyaXMgTGluZ2xleQ==?= Microsoft Outlook Discussion 1 3rd May 2004 06:55 PM
Outlook error: "Some of the items in 'Deleted Items' folder could not be deleted jack schols Windows XP Internet Explorer 2 14th Mar 2004 01:40 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:21 PM.