summaryrefslogtreecommitdiff
path: root/mconnect.1
blob: 6648367e2f714ab95cc46d58fbbf64c04050379c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.TH mconnect 1
.SH NAME
mconnect \- connect to the SMTP server on a host
.SH SYNTAX
.B mconnect
[
.I host
[
.I port
]
]
.SH DESCRIPTION
.B mconnect
connects to
.I port
on
.IR host .
It sends its input to
.IR host ,
adding a CR to each line.
Meanwhile it prints anything it receives from
.IR host .

If
.I port
is not supplied,
.B mconnect
uses port 25 (SMTP).

If
.I host
is not supplied,
.B mconnect
connects to the local host.
.SH "SEE ALSO"
tcpclient(1)