qd-today / qd

QD [v20240210] —— HTTP请求定时任务自动执行框架 base on HAR Editor and Tornado Server
https://qd-today.github.io/qd/
MIT License
4.3k stars 554 forks source link

[Bug] 邮件发送报错error: SMTP AUTH extension not supported by server #509

Closed sun-cut closed 7 months ago

sun-cut commented 7 months ago

Verify steps

QD Version

20240210

Bug on OS

Linux

Bug on Platform

Docker/Linux 64位

To Reproduce

注册发送验证邮件失败

Describe the Bug

邮件发送报错error: SMTP AUTH extension not supported by server,请问该怎么解决啊

QD config

# 邮箱SMTP服务器
        - MAIL_SMTP='smtp-mail.outlook.com'
      # 邮箱SMTP服务器端口
        - MAIL_PORT=587
      # 邮箱用户名
        - MAIL_USER='***@hotmail.com'
      # 邮箱密码
        - MAIL_PASSWORD='***'
      # 发送时使用的邮箱,默认与MAIL_USER相同
      # - MAIL_FROM=${MAIL_USER}
      # 邮箱域名,没啥用,使用的DOMAIN
      # - MAIL_DOMAIN=mail.qd.today

QD log

get_mempolicy: Operation not permitted
[W 240229 12:57:37 QD.RedisDB redisdb:37](B Connect Redis falied: "Error 99 connecting to localhost:6379. Address not available.". 
    Tips: This warning message is only for prompting, it will not affect running of QD framework. 
[I 240229 12:57:37 QD.Worker worker:324](B Queue Worker start...
[I 240229 12:57:37 QD.Run run:87](B Http Server started on 0.0.0.0:80
[I 240229 12:58:07 tornado.access web:2348](B 200 POST /login (10.0.0.24) 134.43ms
[I 240229 12:58:09 tornado.access web:2348](B 200 POST /register (10.0.0.24) 8.49ms
[I 240229 12:58:09 QD.Http.Util utils:454](B send mail to ***@gmail.com
[E 240229 12:58:11 QD.Http.Util utils:481](B send mail error: SMTP AUTH extension not supported by server.

Expected behavior

配置应该是没问题的 这个邮箱在vault warden 是一样配置的 ,可以发送注册验证邮件。

Screenshots

No response