I\'m running a bash script in cron to send mail to multiple recipients when a certain condition is met.
I\'ve coded the variables like this:
subject=\"S
to use sendmail from the shell script
subject="mail subject" body="Hello World" from="me@domain.com" to="recipient1@domain.com,recipient2@domain.com" echo -e "Subject:${subject}\n${body}" | sendmail -f "${from}" -t "${to}"