Bewerken

Delen via


MailMessage.Sender Property

Definition

Gets or sets the sender's address for this email message.

public:
 property System::Net::Mail::MailAddress ^ Sender { System::Net::Mail::MailAddress ^ get(); void set(System::Net::Mail::MailAddress ^ value); };
public System.Net.Mail.MailAddress? Sender { get; set; }
public System.Net.Mail.MailAddress Sender { get; set; }
member this.Sender : System.Net.Mail.MailAddress with get, set
Public Property Sender As MailAddress

Property Value

A MailAddress that contains the sender's address information.

Remarks

The sender's address is not validated or tied to the currently logged on user.

Applies to