BUG: E_INVALIDARG Error Returned From CDO Reply Method

ID: Q183095


The information in this article applies to:
  • Collaboration Data Objects (CDO), versions 1.2, 1.21


SYMPTOMS

When executing the Reply method of a Collaboration Data Objects (CDO) Message object, you may receive the following CDO error message:

MAPI_E_INVALIDARG [80070057].
This message can be very misleading because the Reply method takes no arguments.


CAUSE

The underlying issue is that the logic in the Reply method looks for the Messaging Application Programming Interface (MAPI) message field PR_SENDER* and calls the Extended MAPI function ModifyRecipients() on the MAPI message. If PR_SENDER* properties are missing, an E_INVALIDARG is passed to MAPI's ModifyRecipients() function.


STATUS

This behavior is by design, but Microsoft acknowledges that this error message is not clearly stating the underlying issue. Microsoft is researching this issue and will post new information here in the Microsoft Knowledge Base as it becomes available.


REFERENCES

For information about Collaboration Data Objects versus Active Messaging, please see the following article in the Microsoft Knowledge Base:

Q176916 INFO: Active Messaging and Collaboration Data Objects (CDO)

Additional query words: ActMsg

Keywords : kbCDO kbCDO110bug kbCDO120bug kbCDO121bug kbMsg kbBug
Version : WINDOWS:1.2,1.21
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: December 14, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.