_MailItem.SenderEmailType Property

Returns a String (string in C#) that represents the type of entry for the e-mail address of the sender of the Outlook item, such as 'SMTP' for Internet address, 'EX' for a Microsoft Exchange server address, etc. Read-only.

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

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property SenderEmailType As String
    Get
'Usage
Dim instance As _MailItem
Dim value As String

value = instance.SenderEmailType
[DispIdAttribute()]
string SenderEmailType { get; }

Property Value

Type: System.String

See Also

Reference

_MailItem Interface

_MailItem Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Get the SMTP Address of the Sender of a Mail Item