qd-today / qd

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

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

Closed MuggleTan closed 5 months ago

MuggleTan commented 5 months ago

Verify steps

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

a76yyyy commented 5 months ago

duplicate qd-today/qd#424,fixed by https://github.com/qd-today/qd/commit/f11784544ed7319ed94b0f0b29a0c4aee3a6933e

MuggleTan commented 5 months ago

https://github.com/qd-today/qd/issues/424#issuecomment-1937117862 用这位大佬的测试代码是可以发送邮件的,但是配到QD里面就不行了,很奇怪,我把SSL关掉只用starttls也不行

a76yyyy commented 5 months ago

https://github.com/qd-today/qd/issues/424#issuecomment-1937117862 用这位大佬的测试代码是可以发送邮件的,但是配到QD里面就不行了,很奇怪,我把SSL关掉只用starttls也不行

更新至dev版本了么

MuggleTan commented 5 months ago

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