2.2.3.148 ReplaceMime

The ReplaceMime element is an optional child element of the SmartForward element in SmartForward command requests and an optional child element of the SmartReply element in SmartReply command requests. In both contexts, it specifies whether the client is sending the entire message. When the ReplaceMime element is present, the server MUST NOT include the body or attachments of the original message being forwarded. When not included, the client MUST append the body of the original message as attachments to the outgoing message.

The client can use this tag to indicate whether the message was edited inline, or whether the message had reply/forward text prepended to the source message. If the ReplaceMime element is present, the message was edited.

All elements referenced in this section are defined in the ComposeMail namespace.

Command request/response

Parent elements

Child elements

Data type

Number allowed

SmartForward command request (section 2.2.1.19)

SmartForward (section 2.2.3.169)

None

None

0...1 (optional)

SmartReply command request (section 2.2.1.20)

SmartReply (section 2.2.3.170)

None

None

0...1 (optional)

The ReplaceMime element is an empty tag element, meaning it has no value or data type. It is distinguished only by the presence or absence of the <ReplaceMime/> tag.

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.6, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support, SmartForward

Element support, SmartReply

2.5

12.0

12.1

14.0

Yes

Yes

14.1

Yes

Yes

16.0

Yes

Yes

16.1

Yes

Yes