diff --git a/settings/notifications/mail.md b/settings/notifications/mail.md index 52247f8..a0c5af1 100644 --- a/settings/notifications/mail.md +++ b/settings/notifications/mail.md @@ -25,6 +25,28 @@ MAIL_FROM_ADDRESS="hello@example.com" MAIL_FROM_NAME="Speedtest Tracker" ``` +**GMAIL example:** + +Steps for creating an app password. +- Go to your Google Account +. +- Select Security. +- Under "How you sign in to Google," choose 2-Step Verification. +- Click on App passwords. +- Enter a name and generate a password. +- Remember to copy the password before closing; otherwise, you'll need to create another one. + +``` +MAIL_MAILER=smtp +MAIL_HOST=smtp.gmail.com +MAIL_PORT=465 +MAIL_USERNAME=username@gmail.com +MAIL_PASSWORD="password" +MAIL_ENCRYPTION=tls +MAIL_FROM_ADDRESS=username@gmail.com +MAIL_FROM_NAME="Speedtest Tracker" +``` + ### Triggers
| Name | Description |
|---|---|
| On completed speedtest | On each successful speedtest a notification will be send to the application. |
| On absolute threshold failure | On any absolute threshold failure a notification will be send to the application. |