Skip to content

a simple webhook that is used to forward incoming e-mail

Notifications You must be signed in to change notification settings

hoverkraft-tech/hook2mail

Repository files navigation

hook2mail

A simple webservice that forwards any e-mail message posted on /webhook endpoint to a list of recipients.

example :

MESSAGE="$(echo 'hello word !' | base64 | jq -R '{ "message": . }')"
curl -X POST -H "Content-Type: application/json" localhost:8000/webhook -d "${MESSAGE}"