2 Commits
Author SHA1 Message Date
beforegolive 3f9fa1f9c9 fix(notify-email): 修 smtps:// 下 -H + --upload-file - 不生效的 bug
lint / yamllint (push) Successful in 5m27s
curl 在 smtps:// 模式下,'-H' 头部和 '--upload-file -' body 同时给时,
实际 DATA 段几乎为空(实测 97 bytes 上行 vs 完整邮件 289 bytes),
收件人看不到 Subject 和 body。

改为:把整封邮件(From/To/Subject/MIME-Version/Content-Type/Date + 空行 +
body)拼好后从 stdin 给 curl --upload-file -,不再用 -H。

实测:上行 289 bytes,subject / body 完整到达。
2026-07-15 13:32:42 +08:00
gitea_admin 25e21fd0c7 feat(notify-email): composite action 通过 SMTP 发邮件 + lint workflow
lint / yamllint (push) Successful in 12s
- notify-email 用 curl smtps:// 协议,163/126 兼容
- self-mail 模式:USER/TO 可同账号
- 失败时 ::warning:: 不阻塞
- lint workflow: yamllint 验证 action.yml 语法
2026-07-13 09:36:06 +08:00