qd-today / qd

QD [v20240210] —— HTTP请求定时任务自动执行框架 base on HAR Editor and Tornado Server

Home Page:https://qd-today.github.io/qd/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Outlook邮箱无法发送邮件

MuggleTan opened this issue · comments

Verify steps

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

QD Version

20240210

Bug on OS

Windows, Linux

Bug on Platform

Docker/Linux 64位

To Reproduce

image
image

Describe the Bug

配置好outlook邮箱之后无法发送邮件

QD config

- MAIL_SMTP=smtp-mail.outlook.com
      - MAIL_PORT=587
      - MAIL_SSL=True
      - MAIL_STARTTLS=True
      - MAIL_USER=XXX@outlook.com
      - MAIL_PASSWORD=XXX

QD log

[I 240325 13:43:54 QD.Web.Handler login:266] password reset: userid=5 email=XXXXX@qq.com
[I 240325 13:43:54 QD.Http.Util utils:454] send mail to XXXXX@qq.com
[E 240325 13:43:54 QD.Http.Util utils:481] send mail error: SMTP AUTH extension not supported by server.

Expected behavior

可以用outlook邮箱发送邮件

Screenshots

image
image

duplicate #424,fixed by f117845

#424 (comment)
用这位大佬的测试代码是可以发送邮件的,但是配到QD里面就不行了,很奇怪,我把SSL关掉只用starttls也不行

#424 (comment)
用这位大佬的测试代码是可以发送邮件的,但是配到QD里面就不行了,很奇怪,我把SSL关掉只用starttls也不行

更新至dev版本了么

开发版没问题了,我还以为已经更新到latest版本了