This might sound a bit dumb but I'm working on a script that requires an email to be send if certain conditions are met. To do this i use:
sendmail -f "email@example.com" -F "User" firstname.lastname@example.org < file.txt
"sendmail" is the only possible option to do this.
What I don't know (and I couldn't find on Google, though I've tried) is how to set the email TITLE. If I run it the way it is now it sends the mail with all the information as it's supposed to be but with no title.