How to get the actual Public Folder path from Favourites Folders

saviosn

New Member
OS Version(s)
  1. Windows
Outlook version
Outlook 2019 32-bit
Email Account
Exchange Server
Operating system::    Windows 10
Outlook version:     2019
Email type or host:    Exchange

Hello,

I am using Exchange server and my outlook is linked to this exchange server
In my Favourites I have added (via outlook 2019) some public/Shared Folders which i can see all the emails synchronized.

But how can i get the actual path of my Public Folders linked to Favourites ?

If i navigate the Folders under Favourites, the Folder Path and FullPath show the path from Favourites.
But i want to know the actual path of the Public Folder. How can i do this?
I am using c# and its an Outlook Addin.

TIA
Savio
 
You're looking for this path using coding?
\\Public Folders - address\All Public Folders\Contacts\Opportunities

In Favorites it's
\\Public Folders - address\Favorites\Opportunities

If you don't know the actual path in All Public folders, you'd need to search for the folder - which means 'walking' the folders until you find a match.

I don't have C# code samples, only VBA sample - loops and finds a folder by name -
 
Thanks Diane,
VBA code is also fine. I can convert it to C#

Yes i want to know the actual associated Folder like
\\Public Folders - address\All Public Folders\Contacts\Opportunities

But i get only
\\Public Folders - address\Favorites\Opportunities

Searching through the public folders using the name is possible but what if i have duplicates? I mean 2 Folders with same name but different hierarchy ?

I am thinking it may be in headers and i need to use mapi/proptag Url for it.
Will update here once i have a solution.

please feel free to suggest if you have any idea.

Thanks once again
Savio
 
Similar threads
Thread starter Title Forum Replies Date
C too many choices for time zones! can i reduce to actual time zones only? Using Outlook 1
Victor_50 jump to actual folder from favorite Outlook VBA and Custom Forms 1
M Actual Contacts Using Outlook 0
O Using name from address book in lieu of actual email address Outlook VBA and Custom Forms 2
B Sync Outlook Public Folders to Contacts Using Outlook 2
J How to import many msg into different public folders in Outlook Outlook VBA and Custom Forms 7
A Moving Public Folders to New Database Exchange Server Administration 3
Fozzie Bear Shared Public Folders Access and Use Exchange Server Administration 0
A Created a personal group that now appears to be a public group Using Outlook 3
A Prevent connection to Public Folders on Exchange? Exchange Server Administration 3
R Call a Public Sub when a Flag is clicked on in the Message Preview pane Outlook VBA and Custom Forms 1
R Copy Outlook Public Folders to a File Server Shared Folder Using Outlook 0
J Calling a Public sub-routine from the script editor via VB script Outlook VBA and Custom Forms 4
F How to assign a task to a public task folder? Using Outlook 1
D How to handle filing of emails from an Inbox Subfolder to a specific Public folder Using Outlook 1
D Record Appointment to Calendar on "Public Folder" Outlook VBA and Custom Forms 13
R Problem with searching public folders Exchange 2013/16 Exchange Server Administration 2
C Outlook 2016: Searching in all (+public) folders Outlook VBA and Custom Forms 9
X Delay sending an email until the next working day (public holidays) Outlook VBA and Custom Forms 0
L Public folders permissions Exchange Server Administration 1
Diane Poremsky Mail-enable Exchange Public Folders Using Outlook 0
K Macro to search emails between two time slots on public folders with excel export Outlook VBA and Custom Forms 12
Diane Poremsky How to Send Email When Traveling or Using Public Wi-Fi Using Outlook 0
Diane Poremsky Data loss may occur during public folder migration Using Outlook 0
S Empty an Office365 public folder containing 20.000 messages Using Outlook 2
D Priasoft Public Folder Syncro? Exchange Server Administration 0
I Random Chinese characters in email copied from a pst file. Exchange Server 2016 Public Folder Exchange Server Administration 1
T Create new item in public folder using VBscript Outlook VBA and Custom Forms 1
P Public Folder email error, ndr returned. Exchange Server Administration 1
J Favorites in Public Folders issue Outlook VBA and Custom Forms 0
P Last Change attribute set after viewing a public folder contact Exchange Server Administration 0
L any ways to create shortcuts to a public mail folder Using Outlook 4
L Should public contacts folder appear in "People" nav pane? Using Outlook 1
N Public Folder Calendar Permissions Exchange Server Administration 4
V Macro to open Public Folders subfolder? Outlook VBA and Custom Forms 1
S Contacts disappear in public folder search Using Outlook 1
R How to Block from sending mail to public domain. Using Outlook 8
I how to create appointment using saved template onto public folder shared calendar Using Outlook 3
M Codetwo Public Folders structure for vba Outlook VBA and Custom Forms 13
M How to copy attachments from a Public Folder in VBA Outlook VBA and Custom Forms 3
G Outlook 2013 - Default View for Public Folder Contacts Using Outlook 1
V Extracting user-defined details from a public folder Outlook VBA and Custom Forms 2
C Sync color categories on a Public Calendar across Office 365, PCs, Macs Using Outlook 1
C Ex2010 problems with mail-enabled public folders Exchange Server Administration 0
D How do I mail-enable a Public Folder Sub-folder in exchnage 2007 using shell ? Exchange Server Administration 0
A Outlook VBA - moving mail item to public folder using variable within path Using Outlook 6
E Outlook 2007 Saves .MSG E-Mails with attachment from Public Folders as RTF Using Outlook 0
P correct public folder migration exchange 2003 to 2010 Exchange Server Administration 1
S Pushing GAL to a public folder Exchange Server Administration 2
T Public Folder has many messages but can't be seen in Outlook Using Outlook 3

Similar threads

Back
Top