You will have to provide values that work in your environment.
You'll find info on all the parameters on the Send-MailMessage helppage or by doing a
Get-Help Send-MailMessage
Do a find on 'Send-MailMessage' in this community, there are multiple examples