Platform SDK: Exchange 2000 Server

PostReply Method

[This is preliminary documentation and subject to change.]

The PostReply method creates and returns another message that can be used to post a reply to this message.

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

Remarks

The PostReply method retains all the newsgroups from this message in the Newsgroups property of the new message, but removes any attachments.

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/postusing, http://schemas.microsoft.com/cdo/configuration/postusername, http://schemas.microsoft.com/cdo/configuration/postpassword