配置smtp端口为25,准备生产环境部署
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user