PRB: Setting PR_SENTMAIL_ENTRYID in CDO (1.x) Is Not Retained (192083)
The information in this article applies to:
- Collaboration Data Objects (CDO) 1.1
- Collaboration Data Objects (CDO) 1.2
- Collaboration Data Objects (CDO) 1.21
This article was previously published under Q192083 SYMPTOMS
When sending a message, by default, a copy is saved to a folder (by default
this is the Sent Items Folder). The Extended Messaging Application
Programming Interface (MAPI) exposes a field called PR_SENTMAIL_ENTRYID on
the Message that allows this folder to be set to something other than Sent
Items.
Setting this field on a new message generated by a Collaboration Data
Objects (1.1, 1.2, 1.21) application will not send the item you just sent to the specified folder.
CAUSE
The CDO (1.x) library hard codes the value placed in the PR_SENTMAIL_ENTRYID field to the Sent Items Folder, overwriting any previously existing value.
RESOLUTION
After sending the mail, execute a MoveTo against the copy in the Sent Items
Folder, moving it to the desired folder.
STATUS
This behavior is by design.
Modification Type: | Minor | Last Reviewed: | 3/4/2004 |
---|
Keywords: | kbcode kbMsg kbprb KB192083 |
---|
|