I want to receive a Linux Courier plain text message from mail(x).
I have gone to inordinate lengths and STILL receive the text in Callibri 11.
The inordinate lengths (hacking a local email function, which works when called from a script, at the command line):
# Make everything UTF8
export LANG="en_GB.UTF8"
export NLS_LANG="English_United Kingdom.AL32UTF8"
dscr_output_mail() {
TO_ADDRESS="$1"
shift
SUBJECT="$1"
shift
MAIL_CONTENT="$1"
shift
if [ "`echo \"$TO_ADDRESS\" | grep '@'`" = "" ]; then
# TO_ADDRESS is an address pointer
eval TO_ADDRESS=\"\$$TO_ADDRESS\"
fi
if [ "$FROM_EML" = "" ]; then
FROM_CMD=""
FROM_EML=$TECH_EMAIL
else
FROM_CMD="-f $FROM_EML"
fi
if [ "`echo \"$SUBJECT\" | grep \"$ENV_NAME\"`" = "" ]; then