소스 검색

fix: 增加邮箱

sansan 5 달 전
부모
커밋
949a1748e8
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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"},
 }