The telnet command is used to communicate with another host using the TELNET protocol. The following command will connect to the target SMTP server.
Command Reference:
Target: 10.10.10.1 Port: 25
telnet 10.10.10.1 25