Skip to content

Instantly share code, notes, and snippets.

View garywoodfine's full-sized avatar
🌍
Building things to make stuff better

Gary Woodfine garywoodfine

🌍
Building things to make stuff better
View GitHub Profile
@jorke
jorke / ses.ps1
Created October 8, 2013 03:53
Send email via AWS SES using powershell one liner.
Send-MailMessage -From <from> -to <to> -subject <subject> -SmtpServer email-smtp.us-east-1.amazonaws.com -Credential
$(New-Object System.Management.Automation.PSCredential -argumentlist <AWS_ACCESS_KEY>,
$(ConvertTo-SecureString -AsPlainText -String <AWS_SECRET_KEY> -Force)
)
-UseSsl -Port 587