Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override mailto in WHD_NOTIFICATION_URI #60

Closed
helmut72 opened this issue Jul 8, 2022 · 2 comments
Closed

Override mailto in WHD_NOTIFICATION_URI #60

helmut72 opened this issue Jul 8, 2022 · 2 comments

Comments

@helmut72
Copy link

helmut72 commented Jul 8, 2022

Would be cool to override mailto:foo@bar.com parameter in WHD_NOTIFICATION_URI, when a script prefix also contains a mail address, for example:

echo "notify:foo2@bar.com: Hello World"

or:

echo "notify:foo2@bar.com,foo3@bar.com,foo4@bar.com: Hello World"

If there is no mail address after the prefix, default address will be used.

Same should be possible with HTTP post hook notifications:

echo "notify:http://requestb.in/another987: Hello World"

Thank you.

@helmut72
Copy link
Author

I sleep some nights and maybe this feature request is not much important. I can also send mails in my script with msmtp or messages with curl. Also any combinations are possibles. Will close this issue. You can re-open it if it's important for you.

@ncarlier
Copy link
Owner

You are right, sleep is a precious friend ;) The purpose of the notification is more to trigger other actions after success or error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants