I have written a transmitter of the SMTP mail protocol, but some websites have no way to establish a connection string mx = "sohumx.sohu.com"; inetaddress addr = inetaddress.getbyName (mx); socket socket = new socket (addr, 25) I want to know this socket, how to get the SMTP server address of the exact site