To send email using sendmail, use
sendmail -f [email protected] [email protected]
Now you need to type in
Subject: Subject here
press enter, on next line, you can type message (email body). Once you enter the message, end it with a new line (Enter) and a DOT (.) character.
See mail