If I use the command
cat textfile|mail firstname.lastname@example.org
then I can email the content of the textfile into email@example.com
. But it always arrives with no subject. How can I add a subject using the above method? And is it possible to add multiple addresses to the method above?