1

problem with sending mail from txt file having HTML code via sendmail -t

view story
linux-howto

http://www.unix.com – Hi, i have the following code in shell named as test3.sh.. Code: #!/bin/sh . /home/<user>/.profile export dt=`date "+%d%b%y"` export tim=`date "+%d%b%y %HM:%MM"` cd export WD=`pwd` SID="<sid>" export SID export ORACLE_SID=$SID export ORACLE_HOME=/oracle/$SID/102_64 export PATH=$ORACLE_HOME/bin:/oracle/$SID:/usr/sap/$SID/SYS/exe/run:$PATH export SAPDATA_HOME=/oracle/$SID MAILFILE=/tmp/Total_user.mailfile.12648584.txt /bin/cat ${MAILFILE} | /usr/lib/sendmail -t and my file 'Total_user.mailfile.12648584.txt' contains the following HTML text: (HowTos)