Jelajahi Sumber

fix: 增加邮箱

sansan 4 bulan lalu
induk
melakukan
949a1748e8
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  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"},
 }