diff --git a/sendmultipart.sh b/sendmultipart.sh index e336d1b..f561012 100755 --- a/sendmultipart.sh +++ b/sendmultipart.sh @@ -4,7 +4,7 @@ # (C)2012,2015 by HIROSE Yuuji [yuuji(at)yatex.org] # You can obtain the latest version of this script from: # http://www.gentei.org/~yuuji/software/sendmultipart.sh -# Last modified Tue May 12 11:29:54 2020 on firestorm +# Last modified Thu May 14 07:31:16 2020 on firestorm # # Typical usage: # echo "Hi, here's photo I've taken. Enjoy" | \ @@ -61,7 +61,7 @@ esac shift done -rcptheader=`echo $rcpts|tr ' ' '\n'|sort -u|sed 's/^/To: /g'` +rcptheader=${SMAIL_TO:-`echo $rcpts|tr ' ' '\n'|sort -u|tr '\n' ', '`} plainheader="Content-Type: text/plain; charset=$textcharset Content-Transfer-Encoding: 7bit" @@ -94,7 +94,7 @@ # Generate contents ( cat<