Scripting - How send an email through telnet command

With mail servers could happen that you need to send test email with telnet command.


Here are relative sequentially commands.

helo Test
mail from: user1@mail1
rcpt to: user1@mail1

data
Subject:Test email

"End data with ."

.

quit

720check