Hi, Please see my code below i'm trying get an email send with attachment and html content in the body.
Using the code below will put the encoding for attachment in the body as well
SUBJECT="$(echo "XPI Monitoring "${tcnt}" transactions waiting \nContent-Type: text/html")"
cat $RT_DIR/${RPT_DNAME[2]}/${XPILOG} > $TEMP_FILE
uuencode $RT_DIR/${RPT_DNAME[2]}/${XPILOG} "xpimon.csv" >> $TEMP_FILE
mailx -s "$SUBJECT" "$mailist" < $TEMP_FILE
Please shower some light if possible of what i'm doing wrong
Thanks