Skip to content

Commit fb6c3d6

Browse files
committed
document Shoutrrr special characters in username & password -
fixes #532
1 parent c3a0fb7 commit fb6c3d6

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

docs/TROUBLESHOOTING_NOTIFICATIONS.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,23 @@ SCRUTINY_MESSAGE - eg. "Scrutiny SMART error notification for device: %s\nFailur
2424
SCRUTINY_HOST_ID - (optional) eg. "my-custom-host-id"
2525
```
2626

27+
# Special Characters
28+
29+
`Shoutrrr` supports special characters in the username and password fields, however you'll need to url-encode the
30+
username and the password separately.
31+
32+
- if your username is: `[email protected]`
33+
- if your password is `124@34$1`
34+
35+
Then your `shoutrrr` url will look something like:
36+
37+
- `smtp://myname%40example%2Ecom:124%4034%[email protected]:587`
38+
2739
# Testing Notifications
28-
You can test that your notifications are configured correctly by posting an empty payload to the notifications health check API.
40+
41+
You can test that your notifications are configured correctly by posting an empty payload to the notifications health
42+
check API.
43+
2944
```
3045
curl -X POST http://localhost:8080/api/health/notify
3146
```

example.scrutiny.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ log:
6060

6161
# Notification "urls" look like the following. For more information about service specific configuration see
6262
# Shoutrrr's documentation: https://containrrr.dev/shoutrrr/services/overview/
63+
#
64+
# note, usernames and passwords containing special characters will need to be urlencoded.
65+
# if your username is: "[email protected]" and your password is "124@34$1"
66+
# your shoutrrr url will look like: "smtp://myname%40example%2Ecom:124%4034%[email protected]:587"
6367

6468
#notify:
6569
# urls:

0 commit comments

Comments
 (0)