SendMailMessage Constructor

Creates a new SendMailMessage object. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.This constructor is introduced by Windows PowerShell 2.0.

Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Utility (in Microsoft.PowerShell.Commands.Utility.dll)

Dim instance As New SendMailMessage

public SendMailMessage ()
public SendMailMessage ()
public function SendMailMessage ()

For more information about this cmdlet, see Send-MailMessage in the Microsoft TechNet library.

For Help at the command line, type:

get-help send-mailmessage


Target Platforms