Simple E-mail from PowerShell Snippet

Send-MailMessage -From ‘Dog@potato.com' -To ‘Cat@potato.com ' -Subject ‘Blah’ -Body ‘Blah’ -Attachments Path\File.ext -Priority Normal -SmtpServer 'smtp.potato.com'

Leave a Reply

Your email address will not be published. Required fields are marked *