mirror of
https://github.com/cnlimiter/codex-register.git
synced 2026-07-02 12:52:20 +08:00
feat: 新增 freemail 邮箱服务渠道支持
This commit is contained in:
@@ -36,6 +36,7 @@ class EmailServiceType(str, Enum):
|
||||
CUSTOM_DOMAIN = "custom_domain"
|
||||
TEMP_MAIL = "temp_mail"
|
||||
DUCK_MAIL = "duck_mail"
|
||||
FREEMAIL = "freemail"
|
||||
|
||||
|
||||
# ============================================================================
|
||||
@@ -120,6 +121,13 @@ EMAIL_SERVICE_DEFAULTS = {
|
||||
"password_length": 12,
|
||||
"timeout": 30,
|
||||
"max_retries": 3,
|
||||
},
|
||||
"freemail": {
|
||||
"base_url": "",
|
||||
"admin_token": "",
|
||||
"domain": "",
|
||||
"timeout": 30,
|
||||
"max_retries": 3,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user