Skip to content

Commit 51a2251

Browse files
alexjustesengitbook-bot
authored andcommitted
GitBook: No commit message
1 parent a65bbb7 commit 51a2251

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

settings/notifications/mail.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,35 +16,35 @@ Make sure these are not set in both your `.env` file or your `docker-compose.yml
1616

1717
```
1818
MAIL_MAILER=smtp
19-
MAIL_HOST=mailhog
20-
MAIL_PORT=1025
21-
MAIL_USERNAME=null
22-
MAIL_PASSWORD=null
23-
MAIL_FROM_ADDRESS="[email protected]"
24-
MAIL_FROM_NAME="Speedtest Tracker"
25-
MAIL_SCHEME=null
19+
MAIL_HOST=
20+
MAIL_PORT=
21+
MAIL_USERNAME=
22+
MAIL_PASSWORD=
23+
MAIL_FROM_ADDRESS=
24+
MAIL_FROM_NAME=
25+
MAIL_SCHEME=
2626
```
2727

28-
**GMAIL example:**
28+
***
29+
30+
### Examples
2931

30-
Steps for creating an app password.
32+
#### Gmail
3133

32-
* Go to your [Google Account](https://myaccount.google.com) .
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.
34+
1. Go to [https://myaccount.google.com/](https://myaccount.google.com/) and click on the "Security" tab.
35+
2. Under the "How you sign in to Google" section, click on "2-Step Verification".
36+
3. Click on "App passwords".
37+
4. Enter a name for your app password and click "Create". Use this password for the `MAIL_PASSWORD` env variable in the example configuration below.
3838

3939
```
4040
MAIL_MAILER=smtp
4141
MAIL_HOST=smtp.gmail.com
4242
MAIL_PORT=465
43-
43+
MAIL_USERNAME="[email protected]"
4444
MAIL_PASSWORD="password"
45+
MAIL_SCHEME=smtps
4546
MAIL_FROM_ADDRESS="[email protected]"
4647
MAIL_FROM_NAME="Speedtest Tracker"
47-
MAIL_SCHEME=tls
4848
```
4949

5050
### Triggers

0 commit comments

Comments
 (0)