MailMessage.Sender MailMessage.Sender MailMessage.Sender MailMessage.Sender Property

定義

取得或設定這個電子郵件訊息的寄件者地址。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; }
member this.Sender : System.Net.Mail.MailAddress with get, set
Public Property Sender As MailAddress

屬性值

MailAddress,包含寄件者的地址資訊。A MailAddress that contains the sender's address information.

備註

寄件者的位址不會經過驗證或系結至目前登入的使用者。The sender's address is not validated or tied to the currently logged on user.

適用於