Skip to content

Instantly share code, notes, and snippets.

@ianjorgensen
Created August 12, 2017 09:57
Show Gist options
  • Save ianjorgensen/ffa01eae81db4c82f7cffe263683b32f to your computer and use it in GitHub Desktop.
Save ianjorgensen/ffa01eae81db4c82f7cffe263683b32f to your computer and use it in GitHub Desktop.
sendEmail(reciepient, data) -> send email to reciepient, use data json to build an html template which gets converted to pdf and sent to the email upload endpoint. Subject and email body are also hard coded within this function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment