Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ReplyAll Method

Exchange Server 2003

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

Applies To

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

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

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

Parameters

pVal
Returned reference to an IMessage Interface.

Return Value

Returns S_OK if successful, or an error value otherwise.

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 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.

If the sendemailaddress Field is set to an e-mail address found in the To or CC lines of the original message that recipient is removed from the reply message (the person replying to the message will not be a recipient of the reply).

See Also

languagecode Field

usemessageresponsetext Field

Configuration Property

sendusing Field

sendusername Field

sendpassword Field

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.