Linux Operating System (MOSC)

MOSC Banner

I want to receive a Linux Courier plain text message from mail(x).

edited Jun 17, 2015 2:26PM in Linux Operating System (MOSC) 4 commentsAnswered

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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center