Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.
/bin/mail -s "$SUBJECT" "$EMAIL" < $EMAILMESSAGE
to/bin/mail -s "${SUBJECT}" "${EMAIL}" < $EMAILMESSAGE
Bottom line here is the script works in general.
So we have some general problem with the script as a whole.
which mail
thenls -l `!!`
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Join the community of 500,000 technology professionals and ask your questions.