First you need to create a new instance of the object in a variable:
$mail= New-Object Net.Mail.SmtpClient("IPorDNSofSmtpServer")
Then, you can send the message:
In most cases, you would use variables to define the addresses, subject, and body of the message.
Some potentially useful documentation: