Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 17th, 2006, 12:53 AM
Registered User
Join Date: Nov 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to retrieve PUBLIC FOLDER INFO using MAPI

 I need info/Sample code on retrieving PUBLIC FOLDER INFORMATION of Microsoft Exchange server 2003 using MAPI. I am using C++ language for retrieving other info on Mailbox store. Any links/directions on this will be much appriciated.
Old November 30th, 2006, 12:42 PM
Authorized User
Join Date: Apr 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts

This is C# code, port it.

//let's create an outlook object in the client process space
            //we can piggy back on the current user session and grab the related data
            Outlook._Application olApp = new Outlook.ApplicationClass();
            Outlook._NameSpace olNS = olApp.GetNamespace("MAPI");
            Outlook._Folders oFolders = olNS.Folders;
            Outlook.MAPIFolder oPublicFolder= oFolders["Public Folders"];
            oFolders = oPublicFolder.Folders;
            Outlook.MAPIFolder oAllPFolder = oFolders["All Public Folders"];
            oFolders = oAllPFolder.Folders;

            for (int i = 1; i < oFolders.Count; i++)

Similar Threads
Thread Thread Starter Forum Replies Last Post
Assigning a toolbar button to open public folder Arsi BOOK: Professional Outlook 2007 Programming ISBN: 978-0-470-04994-5 2 December 13th, 2007 05:08 PM
public article - public articledetails _keysersoze_ BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 September 8th, 2007 08:38 AM
Retrieve Info from Database miniskirt Classic ASP Basics 0 November 2nd, 2006 04:35 AM
Retrieve info about Lookup RowSource for a table c Proteus_3k Pro VB Databases 0 December 2nd, 2004 07:05 AM
Retrieve Info... betzy XML 7 June 4th, 2004 02:10 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.