Send mail from command line with content from file

In order to send an email from command line with a custom subject and the content taken from a from file:

sendmail -v [email protected] < /path/to/file

where path/to/file is something like:

Subject: my subject
body that i want to send
// new blank line