PRB: Personal Folders Do Not Support the COPY_SUBFOLDERS Flag

Last reviewed: February 23, 1998
Article ID: Q181485
The information in this article applies to:
  • Extended Messaging Application Programming Interface (MAPI), version 1.0
  • Exchange Development Kit (EDK), version 5.0
  • Microsoft Exchange Windows NT client, version 5.0
  • Microsoft Windows Messaging

SYMPTOMS

When calling IMAPIFolder::CopyFolder() on a folder in a Personal Folders message store, the COPY_SUBFOLDERS flag is not honored. The call to CopyFolder copies only the immediate subfolders.

CAUSE

The Personal Folders Service provider does not support the COPY_SUBFOLDERS flag.

RESOLUTION

The recommended workaround is to create a recursive function that traverses the folders and copies messages and subfolders on the destination as it goes.


Additional query words: CopyFolder PST Personal Folders COPY_SUBFOLDERS
Keywords : EMAPI MAPIIMS
Version : WINDOWS:1.0,5.0
Platform : WINDOWS
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 23, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.