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; }