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

25端口邮箱发送报错 #60

Open
cslingjun opened this issue Jun 13, 2022 · 2 comments
Open

25端口邮箱发送报错 #60

cslingjun opened this issue Jun 13, 2022 · 2 comments

Comments

@cslingjun
Copy link

25端口配置163邮箱 ,连接超时 ,端口不通
image

改成465端口 ,报错
image

@hidu 老兄 ,可以修复下 ?

@hidu
Copy link
Owner

hidu commented Sep 25, 2022

这问题可能是 163 smtp 策略升级所导致的。
之前是可以正常发送的,现在我测试也报同样的错误。
检查参数配置应该是没有问题,还不清楚具体原因。

新加了个参数 :

  -html string
    	html result file path

可以将邮件内容输出到指定文件。
暂时可以尝试使用其他命令/工具来将内容发送出去。

@ynckl
Copy link

ynckl commented May 24, 2023

是smtp.SendMail方法有问题,他只支持25端口,25号被云商封禁了,存在安全问题,换个邮件包就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants