Admin/pmail
changeset 14036 fb6040d4bbf8
parent 14034 55ba81e3502b
child 14981 e73f8140af78
--- a/Admin/pmail	Sun May 18 15:28:41 2003 +0200
+++ b/Admin/pmail	Sun May 18 16:15:01 2003 +0200
@@ -39,13 +39,14 @@
     local NAME=${FILE##*/}
 
     cat <<EOF
-$MIME_BOUNDARY
+--$MIME_BOUNDARY
 Content-Type: text/plain
 Content-Transfer-Encoding: 8bit
 Content-Disposition: attachment; filename="$NAME"
 
 EOF
     cat $FILE
+    echo
 }
 
 
@@ -65,16 +66,18 @@
 Mime-Version: 1.0
 Content-Type: multipart/mixed; boundary="$MIME_BOUNDARY"
 
-$MIME_BOUNDARY
+--$MIME_BOUNDARY
 Content-Type: text/plain
 Content-Transfer-Encoding: 8bit
 
 EOF
     cat $BODY
+    echo
 
     for a in $@; do print_attachment $a; done
 
-    echo "$MIME_BOUNDARY"
+    echo "--$MIME_BOUNDARY--"
+    echo 
 }
 
 ## main