yao/openapi/setting/smtp_presets.yml
Max 13e16c7099 feat(smtp): add SMTP configuration and management endpoints
- Introduced new endpoints for managing SMTP settings, including GET, PUT, and POST methods for retrieving, updating, and testing SMTP configurations.
- Added data structures for SMTP presets and configuration, enhancing the OpenAPI settings to support email functionality.
- Organized routing under a new /smtp group for better endpoint management.
2026-04-29 12:21:19 +08:00

121 lines
3.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

zh-cn:
- key: tencent
name: 腾讯企邮
host: smtp.exmail.qq.com
port: 465
encryption: ssl
default: true
url: https://exmail.qq.com/
hint:
zh-CN: "密码需使用客户端专用密码,在企业邮设置中生成"
en-US: "Use a client-specific password generated in Tencent Exmail settings"
- key: feishu
name: 飞书邮箱
host: smtp.feishu.cn
port: 465
encryption: ssl
url: https://www.feishu.cn/
hint:
zh-CN: "需在飞书管理后台开启邮箱 SMTP 服务"
en-US: "Enable SMTP in Feishu admin console"
- key: aliyun
name: 阿里邮箱
host: smtp.aliyun.com
port: 465
encryption: ssl
url: https://mail.aliyun.com/
hint:
zh-CN: "需在阿里邮箱设置中开启 SMTP 服务"
en-US: "Enable SMTP in Aliyun Mail settings"
- key: qq
name: QQ邮箱
host: smtp.qq.com
port: 465
encryption: ssl
url: https://mail.qq.com/
hint:
zh-CN: "需在QQ邮箱设置中开启 SMTP 服务并获取授权码"
en-US: "Enable SMTP in QQ Mail settings and get authorization code"
- key: netease163
name: 163邮箱
host: smtp.163.com
port: 465
encryption: ssl
url: https://mail.163.com/
hint:
zh-CN: "需在163邮箱设置中开启 SMTP 服务并获取授权码"
en-US: "Enable SMTP in 163 Mail settings and get authorization code"
- key: custom
name: 自定义
host: ""
port: 465
encryption: ssl
hint:
zh-CN: "手动填写 SMTP 服务器信息"
en-US: "Manually enter SMTP server details"
en-us:
- key: gmail
name: Gmail
host: smtp.gmail.com
port: 465
encryption: ssl
default: true
url: https://myaccount.google.com/apppasswords
hint:
zh-CN: "Gmail 需要专用密码App Password非登录密码"
en-US: "Gmail requires an App Password, not your login password"
- key: yahoo
name: Yahoo Mail
host: smtp.mail.yahoo.com
port: 465
encryption: ssl
url: https://login.yahoo.com/account/security
hint:
zh-CN: "Yahoo 需要应用专用密码"
en-US: "Yahoo requires an App Password generated in account security settings"
- key: sendgrid
name: SendGrid
host: smtp.sendgrid.net
port: 587
encryption: tls
url: https://app.sendgrid.com/
hint:
zh-CN: "用户名固定为 apikey密码填 API Key"
en-US: "Username is always \"apikey\", password is your API Key"
- key: mailgun
name: Mailgun
host: smtp.mailgun.org
port: 587
encryption: tls
url: https://app.mailgun.com/
hint:
zh-CN: "在 Mailgun 控制台获取 SMTP 凭证"
en-US: "Get SMTP credentials from Mailgun dashboard"
- key: ses
name: Amazon SES
host: email-smtp.us-east-1.amazonaws.com
port: 587
encryption: tls
url: https://console.aws.amazon.com/ses/
hint:
zh-CN: "需在 AWS SES 控制台创建 SMTP 凭证,非 IAM 密钥"
en-US: "Create SMTP credentials in AWS SES console, not IAM keys"
- key: custom
name: Custom
host: ""
port: 465
encryption: ssl
hint:
zh-CN: "手动填写 SMTP 服务器信息"
en-US: "Manually enter SMTP server details"