How to test SMTP server using TELNET. [TESTED]

Just for copy/paste. I use it to test SMTP from Cisco CLI.

telnet 192.168.1.1 25 /source-interface fa0/0

HELO
MAIL FROM: test@example.com
RCPT TO: alexey@example.com
DATA
Subject: Test Message

This is just a test message
.
QUIT

Admin area