Platform SDK: Exchange 2000 Server

ReplyAll Method

[This is preliminary documentation and subject to change.]

The ReplyAll method creates and returns another message that can be used to reply to the sender and all recipients.

[Visual Basic]
Function ReplyAll() as CDO.Message
[C++]
HRESULT ReplyAll(IMessage** pVal);
[IDL]
HRESULT ReplyAll([out,retval] IMessage** pVal);

Remarks

The ReplyAll method puts the sender of this message in the To property of the new message and retains all other recipients in the appropriate To, CC, and BCC properties, but removes 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.

If the configuration field http://schemas.microsoft.com/cdo/configuration/usemessageresponsetext is set to True (VARIANT_TRUE), then the original message is formatted using the following:

-----Original Message-----
From:"Person" <person@microsoft.com>
Sent:Tue, 23 Mar 1998 12:41:37 -0800
To:"Person A" <personA@microsoft.com>
Subject:Hello There

The message response text is localized into the language specified by the http://schemas.microsoft.com/cdo/configuration/languagecode configuration field.

See Also

http://schemas.microsoft.com/cdo/configuration/languagecode Field, http://schemas.microsoft.com/cdo/configuration/usemessageresponsetext Field, IMessage.Configuration, http://schemas.microsoft.com/cdo/configuration/sendusing, http://schemas.microsoft.com/cdo/configuration/sendusername, http://schemas.microsoft.com/cdo/configuration/sendpassword