Sending a mail using the command prompt or terminal is possible with a Telnet client.
telnet mail.server.com 25Press Enter
mail from:<me@mydomain.com>Press Enter
rcpt to:<someone@else.com>Press Enter
dataPress Enter
Subject: Some cool subjectPress Enter
This is the body of the email, and you can type your message herePress Enter
. EnterBe sure to have “. Enter” (note the space after the .)
