Kaynağa Gözat

fix: 增加邮箱

sansan 4 ay önce
ebeveyn
işleme
949a1748e8
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  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"},
 }