标签:stat code pass 完成 服务 配置 ext ons use
# 接收方
STATSMAILER_RCPTS = ['1274866364@qq.com']
# 配置邮件服务器
MAIL_FROM = '1274866364@qq.com'
MAIL_HOST = 'smtp.qq.com'
MAIL_PORT = 465
MAIL_USER = '1274866364@qq.com'
MAIL_PASS = '授权码'
MAIL_SSL = True
# 开启此拓展
EXTENSIONS = {
'scrapy.extensions.statsmailer.StatsMailer': 500,
}
标签:stat code pass 完成 服务 配置 ext ons use
原文地址:https://www.cnblogs.com/ldy-miss/p/12204836.html