PRB: Personal Folders Do Not Support the COPY_SUBFOLDERS Flag (181485)



The information in this article applies to:

  • Microsoft Extended Messaging Application Programming Interface (MAPI)
  • Microsoft Exchange Development Kit (EDK) 5.0
  • Microsoft Exchange Windows NT 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.

Modification Type:MinorLast Reviewed:8/18/2005
Keywords:kbMsg kbprb KB181485