visortgw
Very Senior Member
That makes zero sense! All of that "junk" is header info inserted by the email server.The code is literally this...
Code:{ printf "Date/Time: $(date +'%b %d %Y %X')\n" printf "Asus Router Model: ${ROUTERMODEL}\n" printf "Firmware/Build Number: ${FWBUILD}\n" printf "EXT USB Drive Label Name: ${EXTLABEL}\n" printf "\n" printf "SUCCESS: BACKUPMON completed a successful primary backup to destination: ${BACKUPMEDIA}." printf "\n" } > "$tmpEMailBodyFile"
For some reason it's inserting this block of garbage in the middle of all this. Perhaps it doesn't like blankprintf "\n"
lines? Let me try a different variation, and see if that sticks...