sending mail without the “mail” command
the "mail" command usually comes with nail package, but there are linux systems that do not have it by default.
so, what can you do in this situation in order to send email.
sendmail -bm toWhoEverYouWant@hisDomain.com
To: toWhoEverYouWant@hisDomain.com
Subject: ioio
ioioMessage
.
So you pass the email address twice in order to send the mail. Hitting <Enter> after the . on the last line [the dot should be alone on that line, no spaces, no nothing], the sendmail program sends the message and then exits.

