_MailItem.SenderEmailAddress Property

Returns a String (string in C#) that represents the e-mail address of the sender of the Outlook item. Read-only.

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

Syntax

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

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

Property Value

Type: System.String

Remarks

This property corresponds to the MAPI property PidTagSenderEmailAddress.

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