The information in this article applies to:
SUMMARYThis article describes how to view the contents of a Public Folder from an Active Server Page (ASP). This article contains sample code that demonstrates this technique. MORE INFORMATIONA difference between viewing Public Folders in Visual Basic and from Visual Basic Script in an ASP page, is that in Visual Basic Script you need to use the GetFolder() method, which necessitates knowing the FolderID. (The error may occur if you attempt to traverse the folders instead.) If you do not know the FolderID, you need to determine the FolderID programmatically. The following code looks for the "*Welcome to Public Folders*" folder in the "Public Folders" collection. Insert the following code into an ASP file and make appropriate modifications for server, mailbox, and folders: Sample Code
Microsoft provides programming examples for illustration only, without
warranty either expressed or implied, including, but not limited to, the
implied warranties of merchantability and/or fitness for a particular
purpose. This article assumes that you are familiar with the programming
language being demonstrated and the tools used to create and debug
procedures. Microsoft support engineers can help explain the functionality
of a particular procedure, but they will not modify these examples to
provide added functionality or construct procedures to meet your specific
needs. If you have limited programming experience, you may want to contact
the Microsoft fee-based consulting line at (800) 936-5200. For more
information about the support options available from Microsoft, please see
the following page on the World Wide Web:
http://www.microsoft.com/support/supportnet/refguide/default.asp Additional query words: MAPI_E_FAILONEPROVDER
Keywords : kbcode kbASP kbCDO120 kbMsg kbVBScript kbfaq kbGrpMsg kbInetDev |
Last Reviewed: December 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |