The Reply method creates and returns another message that can be used to reply to the sender of this message.
Microsoft CDO for Exchange 2000 Library
DLL Implemented In
[Visual Basic]Function Reply() As CDO.Message
[C++]HRESULT Reply ( IMessage** pVal );
- Returned reference to an IMessage Interface.
Returns S_OK if successful, or an error value otherwise.
The Reply method puts the sender of this message in the To property of the new message but removes all other recipients and any attachments. The To property is normally set from this message's From property, but if ReplyTo is set on this message, it is used instead.
When you call the Reply method, the configuration fields in the reply message object are set with default values, overwriting any configuration values that were set prior to calling the Reply method. To avoid this, set the configuration fields for the message after you call the Reply method.
If the usemessageresponsetext Field is set to TRUE (VARIANT_TRUE), then the original message is formatted using the following:
-----Original Message----- From:"Person" <firstname.lastname@example.org> Sent:Tue, 23 Mar 1998 12:41:37 -0800 To:"Person A" <personA@example.com> Subject:Hello There
The message response text is localized into the language specified by the languagecode Field.