Share via


_ExchangeUser.PrimarySmtpAddress Property

Returns a String (string in C#) representing the primary Simple Mail Transfer Protocol (SMTP) address for the ExchangeUser. Read-only.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
ReadOnly Property PrimarySmtpAddress As String
    Get
'Usage
Dim instance As _ExchangeUser
Dim value As String

value = instance.PrimarySmtpAddress
string PrimarySmtpAddress { get; }

Property Value

Type: System.String

Remarks

This property corresponds to the MAPI property, PR_EMAIL.

Returns an empty string if this property has not been implemented or does not exist for the ExchangeUser object.

See Also

Reference

_ExchangeUser Interface

_ExchangeUser Members

Microsoft.Office.Interop.Outlook Namespace