Skip to content

Commit 95665f6

Browse files
authored
Merge pull request alexjustesen#21 from bonelifer/main
Add GMail example
2 parents b003aaf + 703da49 commit 95665f6

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

settings/notifications/mail.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,28 @@ MAIL_FROM_ADDRESS="[email protected]"
2525
MAIL_FROM_NAME="Speedtest Tracker"
2626
```
2727

28+
**GMAIL example:**
29+
30+
Steps for creating an app password.
31+
- Go to your <a href="https://myaccount.google.com" title="Click here to access your Google Account" target="_blank">Google Account</a>
32+
.
33+
- Select Security.
34+
- Under "How you sign in to Google," choose 2-Step Verification.
35+
- Click on App passwords.
36+
- Enter a name and generate a password.
37+
- Remember to copy the password before closing; otherwise, you'll need to create another one.
38+
39+
```
40+
MAIL_MAILER=smtp
41+
MAIL_HOST=smtp.gmail.com
42+
MAIL_PORT=465
43+
44+
MAIL_PASSWORD="password"
45+
MAIL_ENCRYPTION=tls
46+
47+
MAIL_FROM_NAME="Speedtest Tracker"
48+
```
49+
2850
### Triggers
2951

3052
<table><thead><tr><th width="237">Name</th><th>Description</th></tr></thead><tbody><tr><td>On completed speedtest</td><td>On each successful speedtest a notification will be send to the application.</td></tr><tr><td>On absolute threshold failure</td><td>On any absolute threshold failure a notification will be send to the application.</td></tr></tbody></table>

0 commit comments

Comments
 (0)