Share 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

See also

Reference

EmailRecipient class

EmailRecipient members

Microsoft.Exchange.Data.Transport.Email namespace