30 lines
1.4 KiB
JSON
30 lines
1.4 KiB
JSON
{
|
|
"_comment": "邮件发送 skill - 对外邮件发送 API",
|
|
"id": "email_sender",
|
|
"name": "邮件发送",
|
|
"enabled": true,
|
|
"api_key_comment": "对外发送邮件的 API Key,妥善保管",
|
|
"api_key": "es_hAtXkry70lHtCVMfr0TaQ",
|
|
"api_key_hash": "sha256:88aee9d336c64b3b9bd86ab97e635604137c5de971b10419bb1801c7bd4eb7b9",
|
|
"smtp_comment": "SMTP 服务配置(优先级:环境变量 > 此处配置",
|
|
"smtp": {
|
|
"host_comment": "SMTP 服务器主机名",
|
|
"host": "smtp.gmail.com",
|
|
"port_comment": "SMTP 服务器端口号",
|
|
"port": 465,
|
|
"secure_comment": "是否使用 TLS/SSL 加密连接",
|
|
"secure": true,
|
|
"auth": {
|
|
"user_comment": "SMTP 登录用户名(建议通过环境变量 EMAIL_SENDER_SMTP_USER 配置)",
|
|
"user": "yangdafe@gmail.com",
|
|
"pass_comment": "SMTP 登录密码或应用专用密码(请通过环境变量 EMAIL_SENDER_SMTP_PASS 配置)",
|
|
"pass": ""
|
|
}
|
|
},
|
|
"from_comment": "发件人邮箱地址",
|
|
"from": "yangdafe@gmail.com",
|
|
"default_to_comment": "默认收件人(当请求参数中未提供时使用)",
|
|
"default_to": "yangxiangyuan@umer.com.cn",
|
|
"env_mapping_comment": "环境变量映射(优先级最高)\n EMAIL_SENDER_SMTP_HOST\n EMAIL_SENDER_SMTP_PORT\n EMAIL_SENDER_SMTP_SECURE (true/false)\n EMAIL_SENDER_SMTP_USER\n EMAIL_SENDER_SMTP_PASS\n EMAIL_SENDER_FROM\n EMAIL_SENDER_DEFAULT_TO"
|
|
}
|