X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fsendfiles.sh;h=66fc7ec4148d8c90a63fb56b6c906e555b4ee45a;hp=40d8f72e5bab5c913ad7edaf31870198c70e21c2;hb=9aa034524acfaaa1a9881ef7b6cadd788b551ebe;hpb=e2c50b4a7530bceb52dec5e65fcccbc929fc7bc2 diff --git a/uip/sendfiles.sh b/uip/sendfiles.sh index 40d8f72..66fc7ec 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 @@ -24,12 +24,11 @@ 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"