|
@@ -68,6 +68,9 @@ Then save your changes.
|
|
|
|
|
|
2.Allow less secure applications
|
|
|
|
|
|
+*It is recommended that you turn on your browser's privacy mode before logging into gmail to set up your settings, to
|
|
|
+prevent you from not being able to jump to the correct settings address when you have multiple gmail accounts.*
|
|
|
+
|
|
|
After logging into Google Mail, visit [this page](https://myaccount.google.com/u/0/lesssecureapps?pli=1&pageId=none) and
|
|
|
enable the application that is not secure enough.
|
|
|
|
|
@@ -77,6 +80,20 @@ Also, if prompted
|
|
|
After logging in to Google Mail, go to [this page](https://accounts.google.com/b/0/DisplayUnlockCaptcha) and click
|
|
|
Allow. This situation is relatively rare.
|
|
|
|
|
|
+**Note: Since using gmail directly password to sign in easily triggers Google security mechanism, so we recommend to
|
|
|
+refer to the official document to enable the application-specific
|
|
|
+password: [https://support.google.com/mail/answer/185833](https://support.google.com/mail/answer/185833)**
|
|
|
+
|
|
|
+**Sign in with an account+application-specific password, so you won't trigger Google security restrictions even if you
|
|
|
+change your IP frequently to sign in to gmail.**
|
|
|
+
|
|
|
+After the above operation is finished, set `MAIL_USERNAME` and `MAIL_PASSWORD` to your mailbox and password (or token)
|
|
|
+in `.env` file, set `TO` to your incoming mailbox, and then set the value of `MAIL_ENABLE` to `1` to enable the mailbox
|
|
|
+delivery function.
|
|
|
+
|
|
|
+If you don't want to use email related features, change the value of `MAIL_ENABLE` in the `.env` file in the root
|
|
|
+directory to `0` to turn off the email push method.
|
|
|
+
|
|
|
### 🤶 Telegram bot
|
|
|
|
|
|
***
|