Share via


EmailMessage.Sender property

The Sender property gets or sets a value that represents the sender of the message.

Namespace:  Microsoft.Exchange.Data.Transport.Email
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public Property Sender As EmailRecipient
    Get
    Set
'Usage
Dim instance As EmailMessage
Dim value As EmailRecipient

value = instance.Sender

instance.Sender = value
public EmailRecipient Sender { get; set; }

Property value

Type: Microsoft.Exchange.Data.Transport.Email.EmailRecipient

See also

Reference

EmailMessage class

EmailMessage members

Microsoft.Exchange.Data.Transport.Email namespace