Skip to content

Instantly share code, notes, and snippets.

@ianpurvis1976
Created June 20, 2017 11:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ianpurvis1976/9a05ccc61734844518f7ffba90f34509 to your computer and use it in GitHub Desktop.
Save ianpurvis1976/9a05ccc61734844518f7ffba90f34509 to your computer and use it in GitHub Desktop.
SMTP-SendEmail
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