mirror of
https://github.com/certimate-go/certimate.git
synced 2026-04-26 13:15:55 +03:00
[GH-ISSUE #293] [Bug] 邮箱channel测试失败 #178
Labels
No labels
announcement
backlog
bug
declined
documentation
duplicate
enhancement
good first issue
good first issue
help wanted
invalid
pull-request
question
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/certimate#178
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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位授权码,测试失败
复现步骤
复现该问题的步骤:
填写相关配置
期望的结果
成功
截图

环境
其他信息
在此处添加关于该问题的任何其他信息。
@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)@JiyongShi commented on GitHub (Nov 2, 2024):
本地代码修改去掉if,始终拼接端口后,missing port in address没了,但是通过smtp.163.com发送邮件时,始终报550 invalid user错误