I am looking to declare variables to have an output of—for my email subject:
value_value_value_value_value
I would need my variable outputs to have spaces in between, I am trying to add email subject using the variable. Please see my code:
var1=$1
var2=$2
var3=$3
var4=$4$5$6
echo "email content
$var2 $var3
email content $ticketnumber
email content,
" | mail -s $var4 testmail@gmail.com -- -f testmail@gmail.com