Gets or sets the sender of this message.

Namespace:  Rebex.Mime
Assembly:  Rebex.Mail (in Rebex.Mail.dll)

Syntax

Visual Basic
Public Property Sender As MailAddress
	Get
	Set
C#
public MailAddress Sender { get; set; }

Field Value

The sender of this message.

Remarks

This property specifies the agent responsible for the transmission of the message. Use From to specify the list of authors of the message.

This field must be set if the 'From' field contains multiple authors.

This field should not be set if the 'From field contains a single author that is also the sender of the message.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also