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
public string SmtpAddress { get; set; }
public:
property String^ SmtpAddress {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_SmtpAddress ()

/** @property */
public void set_SmtpAddress (String value)
public function get SmtpAddress () : String

public function set SmtpAddress (value : String)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

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

Target Platforms

Windows Server 2003