Admin/pmail
changeset 14036 fb6040d4bbf8
parent 14034 55ba81e3502b
child 14981 e73f8140af78
     1.1 --- a/Admin/pmail	Sun May 18 15:28:41 2003 +0200
     1.2 +++ b/Admin/pmail	Sun May 18 16:15:01 2003 +0200
     1.3 @@ -39,13 +39,14 @@
     1.4      local NAME=${FILE##*/}
     1.5  
     1.6      cat <<EOF
     1.7 -$MIME_BOUNDARY
     1.8 +--$MIME_BOUNDARY
     1.9  Content-Type: text/plain
    1.10  Content-Transfer-Encoding: 8bit
    1.11  Content-Disposition: attachment; filename="$NAME"
    1.12  
    1.13  EOF
    1.14      cat $FILE
    1.15 +    echo
    1.16  }
    1.17  
    1.18  
    1.19 @@ -65,16 +66,18 @@
    1.20  Mime-Version: 1.0
    1.21  Content-Type: multipart/mixed; boundary="$MIME_BOUNDARY"
    1.22  
    1.23 -$MIME_BOUNDARY
    1.24 +--$MIME_BOUNDARY
    1.25  Content-Type: text/plain
    1.26  Content-Transfer-Encoding: 8bit
    1.27  
    1.28  EOF
    1.29      cat $BODY
    1.30 +    echo
    1.31  
    1.32      for a in $@; do print_attachment $a; done
    1.33  
    1.34 -    echo "$MIME_BOUNDARY"
    1.35 +    echo "--$MIME_BOUNDARY--"
    1.36 +    echo 
    1.37  }
    1.38  
    1.39  ## main