该邮箱配置后台发送邮箱验证使用
settings内配置
# 服务器地址 EMAIL_HOST = ‘smtp.163.com‘ # 端口,邮箱默认动态端口 25 EMAIL_PORT = 25 # 邮箱账号 EMAIL_HOST_USER = ‘[email protected]‘ # 邮箱密码 EMAIL_HOST_PASSWORD = ‘xxxxxxx‘ # 发送的邮箱 EMAIL_FROM = ‘[email protected]‘
服务器地址地址在哪找?
原文地址:https://www.cnblogs.com/Selling-fish-bears/p/9960034.html
时间: 2024-10-04 09:20:57