-
-
Notifications
You must be signed in to change notification settings - Fork 649
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
Notifications by Email #296
Comments
What do you mean exactly sending emails for gotify notifications or posting messages to gotify and receive an email? |
The latter(posting messages to gotify and receive an email?). I know I could easily do that with a script but I would like Gotify to Push to Android and send me an Email. What is the right approach? |
Subscribing to messages via plugins is currently not supported. See gotify/plugin-api#3 for the feature request. Like you said, you could write a script, that connects to the websocket. You can probably copy most of the script from this issue #255 and only replace the line where a desktop notification is sent. |
Sending a push notification to the gotify android app and as well to an email account would be great to replace the the not existing iOS app. By this idea one could send the information to several parties, android app users and other user on iOS or PC. I am really interested im such a feature/hack. |
Well, connecting to the stream might work for getting messages. @mat-l is right, the Android App is an overkill for me. |
One more thing. |
You access the stream with a client token, with this token you can retrieve the current user -> https://gotify.net/api-docs#/user/currentUser |
Perfect! I forgot about the tokens. I will update when I come up with something. |
@jmattheis, this actually works. |
If you can implement it as a plugin, then it shouldn't be possible to break something from gotify/server :D. |
If I was trying to add Email notifications, would writing a plug-in be enough?
The text was updated successfully, but these errors were encountered: