To send email using sendmail, use
sendmail -f email@example.com firstname.lastname@example.org
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.