Browse Source

fix: 增加邮箱

sansan 4 months ago
parent
commit
949a1748e8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      trendradar/notification/senders.py

+ 2 - 0
trendradar/notification/senders.py

@@ -53,6 +53,8 @@ SMTP_CONFIGS = {
     "189.cn": {"server": "smtp.189.cn", "port": 465, "encryption": "SSL"},
     # 阿里云邮箱(使用 TLS)
     "aliyun.com": {"server": "smtp.aliyun.com", "port": 465, "encryption": "TLS"},
+    # Yandex邮箱(使用 TLS)
+    "yandex.com": {"server": "smtp.yandex.com", "port": 465, "encryption": "TLS"},
 }