Hot to send a test email by telnet a SMTP SERVER
[<username>@localhost ~]# telnet 192.168.x.x 25
Trying 192.168.x.x …
Connected to 192.168.x.x (192.168.x.x)
Escape character is ‘^]’.
220 Welcome to xxx SMTP service!
HELO local.abc.com
250 mailserver: Hello local.abc.com
MAIL FROM: [email protected]
250 [email protected]: Sender ok
RCPT TO: [email protected]
250 [email protected]: Recipient ok
DATA
354 Send data now. Terminate with .
Subject: mail server testing
.
250 mailserver: Message accepted for delivery
quit
221 mailserver closing connection. Goodbye!
Connection closed by foreign host.