Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
4 tasks done
kaixinoli opened this issue Feb 29, 2024 · 0 comments
Closed
4 tasks done
Labels
bug Something isn't working

Comments

@kaixinoli
Copy link

Verify steps

  • Tracker 我已经在 Issue Tracker 中找过我要提出的问题
  • Latest 我已经使用 最新源码 测试过,问题依旧存在
  • Core 这是 QD 框架存在的问题,并非我所使用的 QD 早期版本(如 20210628及之前版号 等)或模板的特定问题
  • Meaningful 我提交的不是无意义的 催促更新或修复 请求

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

@kaixinoli kaixinoli added the bug Something isn't working label Feb 29, 2024
@kaixinoli kaixinoli changed the title [Bug] [Bug] 邮件发送报错error: SMTP AUTH extension not supported by server Feb 29, 2024
@a76yyyy a76yyyy closed this as completed in f117845 Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant