Using sendmail

 

$ telnet localhost smtp
Trying 127.0.0.1…
Connected to localhost.
Escape character is ‘^]’.
220 machine-1.emea.eu.int ESMTP Postfix
mail from: Vijay.Jadhav@test.email.uk
250 2.1.0 Ok
rcpt to: Vijay.Jadhav@test.email.uk
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
Test
.
250 2.0.0 Ok: queued as 8E00818F
quit
221 2.0.0 Bye
Connection closed by foreign host.
$

 

Using mailx/mail

$echo "Test message body..." | mailx -s "TEST E-MAIL VIA MAIL/MAILX" Vijay.Jadhav@testmail.co.uk
*** Please note these mail programmes should be installed on the Linux/Unix variant touse them, they may/mayn't be available or installed by default.

More email sending options here, nice blog.

Further reading..