Email Subject Not Showing
Posted on 2011-09-12
Trying to put together a script to send out email. I have a SUBJECT=, but the email always arrives saying 'no subject'. What am I missing?
# script to send simple email
# email subject
# Email To ?
# Email text/message
awk '/deleted/' score_provider_delete.lst > /tmp/emailmessage.txt
/bin/mail -s "$SUBJECT" "$EMAIL" < $EMAILMESSAGE