docs: 更新开启邮件推送的关键配置说明

This commit is contained in:
sansan 2025-12-14 13:37:30 +08:00
parent c7bacdfff7
commit 73364a3af0
3 changed files with 20 additions and 2 deletions

View File

@ -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.
- 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>
**GitHub Secret Configuration (⚠️ Name must match exactly):**

View File

@ -1237,6 +1237,15 @@ GitHub Actions 环境下,数据存储在 **远程云存储**(支持 S3 兼
- 注意事项:为防止邮件群发功能被**滥用**,当前的群发是所有收件人都能看到彼此的邮箱地址。
- 如果你没有过配置下面这种邮箱发送的经历,不建议尝试
> ⚠️ **重要配置依赖**:邮件推送需要 HTML 报告文件。请确保 `config/config.yaml` 中的 `formats.html` 设置为 `true`
> ```yaml
> formats:
> sqlite: true
> txt: false
> html: true # 必须启用,否则邮件推送会失败
> ```
> 如果设置为 `false`,邮件推送时会报错:`错误HTML文件不存在或未提供: None`
<br>
**GitHub Secret 配置(⚠️ Name 名称必须严格一致):**

View File

@ -21,7 +21,7 @@ storage:
formats:
sqlite: true # 主存储(必须启用)
txt: false # 是否生成 TXT 快照
html: false # 是否生成 HTML 报告
html: false # 是否生成 HTML 报告(⚠️ 邮件推送必须设为 true否则会报错
# 本地存储配置
local: