EmailRecipient Constructor

The EmailRecipient method initializes a new instance of the EmailRecipient class by using the specified values for the display name and the Simple Mail Transfer Protocol (SMTP) address of the recipient.

Namespace: Microsoft.Exchange.Data.Transport.Email
Assembly: Microsoft.Exchange.Data.Transport (in microsoft.exchange.data.transport.dll)

Syntax

'Declaration
Public Sub New ( _
    displayName As String, _
    smtpAddress As String _
)
public EmailRecipient (
    string displayName,
    string smtpAddress
)
public:
EmailRecipient (
    String^ displayName, 
    String^ smtpAddress
)
public EmailRecipient (
    String displayName, 
    String smtpAddress
)
public function EmailRecipient (
    displayName : String, 
    smtpAddress : String
)

Parameters

  • displayName
    The name to use as the friendly display name for the recipient.
  • smtpAddress
    The SMTP address for the recipient.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003