mconnect − connect to the SMTP server on a host
mconnect [ -version [ host [ port ] ] ]
mconnect connects vi IP prototocol -version (’-4’, ’6’) to port on host. It sends its input to host, adding a CR to each line. Meanwhile it prints anything it receives from host.
If -version is not supplied, mconnect uses by default IPv6.
If port is not supplied, mconnect uses port 25 (SMTP).
If host is not supplied, mconnect connects to the local host.
tcpclient(1)