mirror of
https://gitee.com/houhuan/TrendRadar.git
synced 2025-12-21 11:17:15 +08:00
docs: 更新开启邮件推送的关键配置说明
This commit is contained in:
parent
c7bacdfff7
commit
73364a3af0
@ -1181,6 +1181,15 @@ For long-term stable operation, we recommend [Docker Deployment](#6-docker-deplo
|
|||||||
- Note: To prevent email bulk sending abuse, current bulk sending allows all recipients to see each other's email addresses.
|
- Note: To prevent email bulk sending abuse, current bulk sending allows all recipients to see each other's email addresses.
|
||||||
- If you haven't configured email sending before, not recommended to try
|
- If you haven't configured email sending before, not recommended to try
|
||||||
|
|
||||||
|
> ⚠️ **Important Configuration Dependency**: Email push requires HTML report file. Make sure `formats.html` is set to `true` in `config/config.yaml`:
|
||||||
|
> ```yaml
|
||||||
|
> formats:
|
||||||
|
> sqlite: true
|
||||||
|
> txt: false
|
||||||
|
> html: true # Must be enabled, otherwise email push will fail
|
||||||
|
> ```
|
||||||
|
> If set to `false`, email push will report error: `Error: HTML file does not exist or not provided: None`
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
**GitHub Secret Configuration (⚠️ Name must match exactly):**
|
**GitHub Secret Configuration (⚠️ Name must match exactly):**
|
||||||
|
|||||||
11
README.md
11
README.md
@ -1235,7 +1235,16 @@ GitHub Actions 环境下,数据存储在 **远程云存储**(支持 S3 兼
|
|||||||
<br>
|
<br>
|
||||||
|
|
||||||
- 注意事项:为防止邮件群发功能被**滥用**,当前的群发是所有收件人都能看到彼此的邮箱地址。
|
- 注意事项:为防止邮件群发功能被**滥用**,当前的群发是所有收件人都能看到彼此的邮箱地址。
|
||||||
- 如果你没有过配置下面这种邮箱发送的经历,不建议尝试
|
- 如果你没有过配置下面这种邮箱发送的经历,不建议尝试
|
||||||
|
|
||||||
|
> ⚠️ **重要配置依赖**:邮件推送需要 HTML 报告文件。请确保 `config/config.yaml` 中的 `formats.html` 设置为 `true`:
|
||||||
|
> ```yaml
|
||||||
|
> formats:
|
||||||
|
> sqlite: true
|
||||||
|
> txt: false
|
||||||
|
> html: true # 必须启用,否则邮件推送会失败
|
||||||
|
> ```
|
||||||
|
> 如果设置为 `false`,邮件推送时会报错:`错误:HTML文件不存在或未提供: None`
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,7 @@ storage:
|
|||||||
formats:
|
formats:
|
||||||
sqlite: true # 主存储(必须启用)
|
sqlite: true # 主存储(必须启用)
|
||||||
txt: false # 是否生成 TXT 快照
|
txt: false # 是否生成 TXT 快照
|
||||||
html: false # 是否生成 HTML 报告
|
html: false # 是否生成 HTML 报告(⚠️ 邮件推送必须设为 true,否则会报错)
|
||||||
|
|
||||||
# 本地存储配置
|
# 本地存储配置
|
||||||
local:
|
local:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user