Partager via


EmailRecipient.SmtpAddress Property

The SmtpAddress property gets or sets a value that specifies 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 Property SmtpAddress As String
    Get
    Set
'Usage
Dim instance As EmailRecipient
Dim value As String

value = instance.SmtpAddress

instance.SmtpAddress = value
public string SmtpAddress { get; set; }

Property Value

Type: System.String