SyntaxFix
Write A Post
Hire A Developer
Questions
to use sendmail from the shell script
subject="mail subject" body="Hello World" from="[email protected]" to="[email protected],[email protected]" echo -e "Subject:${subject}\n${body}" | sendmail -f "${from}" -t "${to}"