X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fsendfiles.sh;h=5e4cd67f17c2357335e0ce3367827c2ce22891bf;hb=d5d94ce76327869346e2b02b7b02a3620ddd38eb;hp=40d8f72e5bab5c913ad7edaf31870198c70e21c2;hpb=0e82199cf3c991a173e0ac8aa776efdb3ded61e6;p=mmh diff --git a/uip/sendfiles.sh b/uip/sendfiles.sh index 40d8f72..5e4cd67 100755 --- a/uip/sendfiles.sh +++ b/uip/sendfiles.sh @@ -3,7 +3,7 @@ # Send multiples files non-interactively # adjust if needed -attachment_header='Attach' +attachment_header=`mhparam Attachment-Header` if [ $# -lt 3 ]; then @@ -23,13 +23,12 @@ Files: $* ! draft=`mktemp /tmp/sendfiles.XXXXXX` -trap 'rm -f "$draft"' 1 2 3 15 -cat >"$draft" <>"$draft" + anno "$draft" -component "$attachment_header" -text "$i" -nodate done send "$draft"