feat: Update mail service implementation and its configuration example.

This commit is contained in:
2026-02-13 00:05:58 +08:00
parent ad7b6196dc
commit 1c58279292
2 changed files with 10 additions and 24 deletions

View File

@@ -19,15 +19,14 @@ allowed_users = [] # 允许使用的用户ID列表空=不限
# --- 邮箱系统轮询使用API 接口相同)---
# 可添加多个 [[mail]] 块
# api_token: 直接配置 API Token无需管理员账号密码
[[mail]]
base_url = "https://mail.example.com/"
admin_email = "admin@example.com"
admin_pass = "your_password"
api_token = "your_api_token_here"
domains = ["example.com"]
# [[mail]]
# base_url = "https://mail2.example.com/"
# admin_email = "admin@mail2.example.com"
# admin_pass = "pass2"
# api_token = "your_api_token_here"
# domains = ["domain2.com", "domain3.com"]