配置smtp端口为25,准备生产环境部署

This commit is contained in:
huangzhenpc
2025-02-26 09:10:52 +08:00
parent aeffc4f8b8
commit c274583872
2 changed files with 3 additions and 3 deletions

View File

@@ -67,7 +67,7 @@ def send_verification_email(smtp_host, smtp_port, to_email):
if __name__ == "__main__":
# SMTP服务器设置
smtp_host = 'localhost' # 本地SMTP服务器
smtp_port = 3825 # SMTP端口
smtp_port = 25 # SMTP端口
# 收件人邮箱
to_email = 'testaa@nosqli.com'