Microsoft KB Archive/181485

= PRB: Personal Folders Do Not Support the COPY_SUBFOLDERS Flag =

Article ID: 181485

Article Last Modified on 8/18/2005

-

APPLIES TO


 * Microsoft Messaging Application Programming Interface
 * Microsoft Exchange Development Kit 5.5
 * Microsoft Exchange Client 5.0
 * Microsoft Windows Messaging

-



This article was previously published under Q181485



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: kbmsg kbprb KB181485

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.