You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in addition to mail support, webhook support would be very nice.
this should be relatively easy to implement, just POST/GET to a url instead of sending the mail.
The url could simply be specified in the config, or as a parameter, the payload should be pretty much identical to the mail.
mail as well as this should rather be supported via external scripts. id accept a PR for this if its implemented well, but dont have time to maintain it myself atm
hey folks,
in addition to mail support, webhook support would be very nice.
this should be relatively easy to implement, just POST/GET to a url instead of sending the mail.
The url could simply be specified in the config, or as a parameter, the payload should be pretty much identical to the mail.
so e.g. with curl:
gotify GET
curl "https://gotify.domain.tld/message?token=ABASDASDASD" -F "title=btrfs-backup-data" -F "message=some cool text" -F "priority=5"
mattermost POST
curl --silent --output /dev/null -i -X POST -H 'Content-Type: application/json' -d "{\"text\": \"$MESSAGE_TEXT\",\"channel\":\"$CHANNEL\"}" "https://mattermost.domain.tld/hooks/ABASDASDASD"
some little hacky test -> mail.py
The text was updated successfully, but these errors were encountered: