I have the following script:
b="Subject: Message Title\n"
d="Content-Type: text/html; charset=utf-8\n"
echo $all > sendmail firstname.lastname@example.org
I obviously wish to send (pipe?) the concatenated result of my a,b,c,d,e,f,g variables as input to sendmail command. However, it does not work.
Also, i wish to read the contents of a simple text file and assign that content to yet another variable that will also be used in this context.
Any help will be greatly appreciated.