View Single Post
  #3  
Old May 14th 09, 01:42 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 23
Default Outlook add-in: How to find localized name of the "Junk e-mail"folder

Firstly thank you very much for your quick reply, I really appreciate
it! I found out that this solution is almost there but not quite...

In my environment I have these Outlook folders:
\Personal Folders\
\Personal Folders\Deleted Items
\Personal Folders\Drafts
\Personal Folders\Inbox
\Personal Folders\Junk E-mail
\Personal Folders\Sent Items
....
\Archive Folders
\
\Inbox


\Junk E-mail
....
The latter is my default data file or whatever it is called.
Now Session.GetDefaultFolder(olFolderJunk) points to \Private Folders
\Junk E-mail
but the REAL Junk E-mail folder (i.e. the one that Outlook uses for
this account) is \Junk E-mail

How do I find the path to that?
Ads