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

can not work in combodia with domain 163.com #45

Open
yyle88 opened this issue Nov 15, 2024 · 0 comments
Open

can not work in combodia with domain 163.com #45

yyle88 opened this issue Nov 15, 2024 · 0 comments

Comments

@yyle88
Copy link

yyle88 commented Nov 15, 2024

package main

import (
	"fmt"
	"log"

	"github.com/badoux/checkmail"
)

func main() {
	err := checkmail.ValidateHost("[email protected]")
	if err != nil {
		log.Fatalf("邮箱验证失败: %v", err)
	}
	fmt.Println("邮箱域名验证通过")
}

2024/11/15 22:39:51 邮箱验证失败: dial tcp 103.129.252.43:25: i/o timeout
nslookup -type=mx 163.com
Server:		8.8.8.8
Address:	8.8.8.8#53

Non-authoritative answer:
163.com	mail exchanger = 50 163mx00.mxmail.netease.com.
163.com	mail exchanger = 10 163mx01.mxmail.netease.com.
163.com	mail exchanger = 10 163mx02.mxmail.netease.com.
163.com	mail exchanger = 10 163mx03.mxmail.netease.com.

Authoritative answers can be found from:
telnet 103.129.252.43 25
Trying 103.129.252.43...
telnet: Unable to connect to remote host: 连接超时
telnet 103.129.252.43 465
Trying 103.129.252.43...
Connected to 103.129.252.43.
Escape character is '^]'.

the most reason is you should use the 465 port not use the 25 port when in combodia. but I don't know how to fix your code. thank you.

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

1 participant