Skip to content

Instantly share code, notes, and snippets.

@ypchen
Last active February 15, 2018 10:31
Show Gist options
  • Save ypchen/96c8aa14d8de2a2dc17b314f8ec33784 to your computer and use it in GitHub Desktop.
Save ypchen/96c8aa14d8de2a2dc17b314f8ec33784 to your computer and use it in GitHub Desktop.
#!/bin/bash
# execute-gist.bash is at https://gist.github.com/ypchen/aceeaf43144844f1f4275202259b690c
if [ -z "${1}" ] || [ -z "${2}" ] || [ -z "${3}" ]; then
echo "${0}" "to_email" "subject" "body" "[optional]from_email"
exit 1
fi
execute-gist.bash 5b1b1af9750cb54b6e1e88fe9a91d2f7 "${1}" "${2}" "${3}" "${4}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment