Created
June 20, 2017 11:41
-
-
Save ianpurvis1976/9a05ccc61734844518f7ffba90f34509 to your computer and use it in GitHub Desktop.
SMTP-SendEmail
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl $MAILSERVICE -X POST -H "Content-Type: application/x-www-form-urlencoded; charset=utf-8" -H "Accept: application/xml" -H "X-Auth-Token: $OS_AUTH_TOKEN" -d 'Action=SendEmail&Destination.ToAddresses.member.1=ianpurvis1976%40gmail.com&Message.Body.Text.Data=Test Email&Message.Subject.Data=This is a test message&Source=ian%40ianpurvis.co.uk' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment