Freigeben über


SendMailMessage.From Property

Definition

Gets or sets the from address for this e-mail message. The default value for this parameter is the email address of the currently logged on user.

public:
 property System::String ^ From { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ From { Platform::String ^ get(); void set(Platform::String ^ value); };
public string From { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string From { get; set; }
member this.From : string with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.From : string with get, set
Public Property From As String

Property Value

Attributes

Applies to