ReplyTo Property

ReplyTo Property

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 address to which replies should be sent.

Applies To

IMessage Interface

IWorkflowMessage Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

[Visual Basic]Property ReplyTo As String

[C++]HRESULT get_ReplyTo(BSTRpVal);
HRESULT put_ReplyTo(BSTR Val);

Parameters

  • pVal
    Returns the value of the ReplyTo property as a reference to a BSTR.
  • Val
    Sets the value of the ReplyTo property to the value of the BSTR.

Remarks

This property is also available as the reply-to Field.

The string in the ReplyTo property should represent a single messaging user designated by a full messaging address. For example, all of the following formats qualify as the full messaging address for "User Address:"

"User Address" <UserAddress@example.com> <UserAddress@example.com> UserAddress@example.com

Multiple addresses are not recommended in the ReplyTo property. The SMTP protocol requires that the ReplyTo property must designate a single messaging user. The name of a list or a group is not allowed. However, replies can also be copied to addresses given in the To, CC, and BCC properties.

If ReplyTo is not set, the Reply and ReplyAll methods address the reply to the messaging address in the From property.

The default value of ReplyTo is an empty string.

See Also

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