dsh-mail-notify
给主人邮箱发提示:DSH 里长任务完成、巡检发现问题时主动发一封邮件。
同名包的其他仓库
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:YEHO-gg/dsh-mail-notify说明文档
阅读完整 README ↗配置
配置文件 ~/.dsh/mail.json(也可以全用环境变量覆盖):
{
"host": "smtp.example.com",
"port": 465,
"user": "you@example.com",
"pass": "你的授权码,不是登录密码",
"to": "you@example.com",
"from": "you@example.com"
}
| 字段 | 环境变量 | 说明 |
|---|---|---|
host | DSH_MAIL_HOST | SMTP 服务器,默认走隐式 TLS(465) |
port | DSH_MAIL_PORT | 默认 465 |
user | DSH_MAIL_USER | 登录账号 |
pass | DSH_MAIL_PASS | 163/QQ 邮箱要用授权码,不是登录密码 |
to | DSH_MAIL_TO | 默认收件人(主人邮箱) |
from | DSH_MAIL_FROM | 缺省同 user |