Share via


TargetAddress Property

TargetAddress 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 TargetAddress property specifies the delivery address to which e-mail for this recipient should be sent. This property is read-only.

Applies To

IMailRecipient Interface

Type Library

Microsoft CDO for Exchange Management Library

DLL Implemented In

CDOEXM.DLL

Syntax

[Visual Basic]Property TargetAddress As String

[C++]HRESULT get_TargetAddress(BSTRpVal);

Parameters

  • pVal
    Returns the value of the TargetAddress property as a reference to a BSTR.

Remarks

Messages sent to any of the addresses specified by the ProxyAddresses Property will actually get delivered to the one specified by the TargetAddress property. The primary address in the ProxyAddresses list appears on the reply-to line of messages sent from this recipient.

The default value for this property is NULL (no address specified).

This is set using the MailEnable Method and the MailDisable Method.

This property is stored as a Microsoft Active Directory path.

For more information, see E-mail Addresses Stored as Active Directory Paths.

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.