-
-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
document Shoutrrr special characters in username & password -
fixes #532
- Loading branch information
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,8 +24,23 @@ SCRUTINY_MESSAGE - eg. "Scrutiny SMART error notification for device: %s\nFailur | |
SCRUTINY_HOST_ID - (optional) eg. "my-custom-host-id" | ||
``` | ||
|
||
# Special Characters | ||
|
||
`Shoutrrr` supports special characters in the username and password fields, however you'll need to url-encode the | ||
username and the password separately. | ||
|
||
- if your username is: `[email protected]` | ||
- if your password is `124@34$1` | ||
|
||
Then your `shoutrrr` url will look something like: | ||
|
||
- `smtp://myname%40example%2Ecom:124%4034%[email protected]:587` | ||
|
||
# Testing Notifications | ||
You can test that your notifications are configured correctly by posting an empty payload to the notifications health check API. | ||
|
||
You can test that your notifications are configured correctly by posting an empty payload to the notifications health | ||
check API. | ||
|
||
``` | ||
curl -X POST http://localhost:8080/api/health/notify | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,10 @@ log: | |
|
||
# Notification "urls" look like the following. For more information about service specific configuration see | ||
# Shoutrrr's documentation: https://containrrr.dev/shoutrrr/services/overview/ | ||
# | ||
# note, usernames and passwords containing special characters will need to be urlencoded. | ||
# if your username is: "[email protected]" and your password is "124@34$1" | ||
# your shoutrrr url will look like: "smtp://myname%40example%2Ecom:124%4034%[email protected]:587" | ||
|
||
#notify: | ||
# urls: | ||
|