Kaydet (Commit) e3d6b7ed authored tarafından Ariel Constenla-Haile's avatar Ariel Constenla-Haile

i82660 - SimpleCommandMail: fix options passed to Thunderbird

üst 474752f6
...@@ -110,22 +110,22 @@ case `basename "$MAILER" | sed 's/-.*$//'` in ...@@ -110,22 +110,22 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
done done
if [ "$TO" != "" ]; then if [ "$TO" != "" ]; then
COMMAND=${COMMAND:-}${COMMAND:+,}to=${TO} COMMAND=${COMMAND:-}${COMMAND:+,}to=\'${TO}\'
fi fi
if [ "$CC" != "" ]; then if [ "$CC" != "" ]; then
COMMAND=${COMMAND:-}${COMMAND:+,}cc=${CC} COMMAND=${COMMAND:-}${COMMAND:+,}cc=\'${CC}\'
fi fi
if [ "$BCC" != "" ]; then if [ "$BCC" != "" ]; then
COMMAND=${COMMAND:-}${COMMAND:+,}bcc=${BCC} COMMAND=${COMMAND:-}${COMMAND:+,}bcc=\'${BCC}\'
fi fi
if [ "$SUBJECT" != "" ]; then if [ "$SUBJECT" != "" ]; then
COMMAND=${COMMAND:-}${COMMAND:+,}subject=${SUBJECT} COMMAND=${COMMAND:-}${COMMAND:+,}subject=\'${SUBJECT}\'
fi fi
if [ "$BODY" != "" ]; then if [ "$BODY" != "" ]; then
COMMAND=${COMMAND:-}${COMMAND:+,}body=${BODY} COMMAND=${COMMAND:-}${COMMAND:+,}body=\'${BODY}\'
fi fi
if [ "$ATTACH" != "" ]; then if [ "$ATTACH" != "" ]; then
COMMAND=${COMMAND:-}${COMMAND:+,}attachment=${ATTACH} COMMAND=${COMMAND:-}${COMMAND:+,}attachment=\'${ATTACH}\'
fi fi
run_mozilla "$MAILER" "$COMMAND" run_mozilla "$MAILER" "$COMMAND"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment