[GH-ISSUE #293] [Bug] 邮箱channel测试失败 #178

Closed
opened 2026-03-03 01:01:25 +03:00 by kerem · 2 comments
Owner

Originally created by @Angus-Lee0603 on GitHub (Oct 31, 2024).
Original GitHub issue: https://github.com/certimate-go/certimate/issues/293

描述问题
使用QQ邮箱,发送与接收地址与账号填写的都是本人qq邮箱地址,邮件的服务器地址
smtp.qq.com,端口:465 密码是16位授权码,测试失败
复现步骤
复现该问题的步骤:
填写相关配置

期望的结果
成功

截图
screenshot-1730387481008

环境

  • 操作系统: [ Windows,]
  • 浏览器: [e.g. Chrome]
  • 仓库版本: [e.g. v2.11]

其他信息
在此处添加关于该问题的任何其他信息。

Originally created by @Angus-Lee0603 on GitHub (Oct 31, 2024). Original GitHub issue: https://github.com/certimate-go/certimate/issues/293 **描述问题** 使用QQ邮箱,发送与接收地址与账号填写的都是本人qq邮箱地址,邮件的服务器地址 smtp.qq.com,端口:465 密码是16位授权码,测试失败 **复现步骤** 复现该问题的步骤: 填写相关配置 **期望的结果** 成功 **截图** ![screenshot-1730387481008](https://github.com/user-attachments/assets/e5ea5996-c568-4459-a191-34f0118c4458) **环境** - 操作系统: [ Windows,] - 浏览器: [e.g. Chrome] - 仓库版本: [e.g. v2.11] **其他信息** 在此处添加关于该问题的任何其他信息。
kerem 2026-03-03 01:01:25 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@JiyongShi commented on GitHub (Nov 1, 2024):

host: smtp.163.com
port: 25
同样测试失败,报missing port in address,端口处填25或者留空都是一样的错误
看起来像是这个地方的判断问题,github.com/usual2970/certimate@a27a9f55a7/internal/notify/mail.go (L46)

<!-- gh-comment-id:2451836021 --> @JiyongShi commented on GitHub (Nov 1, 2024): host: smtp.163.com port: 25 同样测试失败,报missing port in address,端口处填25或者留空都是一样的错误 看起来像是这个地方的判断问题,https://github.com/usual2970/certimate/blob/a27a9f55a770e9b795d8fb93ebf7632f9d45e17d/internal/notify/mail.go#L46
Author
Owner

@JiyongShi commented on GitHub (Nov 2, 2024):

本地代码修改去掉if,始终拼接端口后,missing port in address没了,但是通过smtp.163.com发送邮件时,始终报550 invalid user错误

<!-- gh-comment-id:2452830395 --> @JiyongShi commented on GitHub (Nov 2, 2024): 本地代码修改去掉if,始终拼接端口后,missing port in address没了,但是通过smtp.163.com发送邮件时,始终报550 invalid user错误
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/certimate#178
No description provided.