...
Code Block | ||
---|---|---|
| ||
Send-MailMessage -To <YOUR_EMAIL> -From donotreply@foray.com -UseSsl True -SmtpServer email-smtp.us-west-2.amazonaws.com -Port 587 -Subject Test -Credential (New-Object pscredential('<USERNAME>', (ConvertTo-SecureString '<PASSWORD>' -AsPlainText -Force))) |
...