Partager via


PostReply Method

PostReply Method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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

Applies To

IMessage Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

[Visual Basic]Function PostReply
() As CDO.Message

[C++]HRESULT PostReply (     IMessage** pVal );

Parameters

Return Value

Returns S_OK if successful, or an error value otherwise.

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 usemessageresponsetext Field is set to TRUE (VARIANT_TRUE), then the original message is formatted using the following:

-----Original Message----- From:"Person" <person@example.com> 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.

See Also

languagecode Field

usemessageresponsetext Field

Configuration Property

postusing Field

postusername Field

postpassword Field

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.