SendMailMessage.SmtpServer Property

Definition

Gets or sets the name of the Host used to send the email. This host name will be assigned to the Powershell variable PSEmailServer, if this host can not reached an appropriate error. message will be displayed.

C++
public:
 property System::String ^ SmtpServer { System::String ^ get(); void set(System::String ^ value); };

Property Value

Attributes

Applies to

Produto Versións
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0