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