aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto>2006-10-12 14:08:10 +0000
committerrhatto <rhatto>2006-10-12 14:08:10 +0000
commit0411b154ddde53a3d0b5c8fed2774a0a3fa391f6 (patch)
treebc7cf40c8b6e581f571ee6ec39f5b5ccc05ae7bf
parentb3dfde560aeaab223c0caad47389151262c3d1bb (diff)
downloadfirma-0411b154ddde53a3d0b5c8fed2774a0a3fa391f6.tar.gz
firma-0411b154ddde53a3d0b5c8fed2774a0a3fa391f6.tar.bz2
small fixes mime handling for EmailListAdministration
-rwxr-xr-xfirma9
1 files changed, 9 insertions, 0 deletions
diff --git a/firma b/firma
index a0953ec..aef2b31 100755
--- a/firma
+++ b/firma
@@ -1826,6 +1826,15 @@ function EmailListAdministration {
ListAdministration $command
fi
done`"
+
+ # this is the body of the message to be sent, so no indentation here
+ MESSAGE_BODY="\
+Content-Type: text/plain; charset=iso-8859-1
+Content-Disposition: inline
+Content-Transfer-Encoding: quoted-printable
+
+$MESSAGE_BODY"
+
GPG_MESSAGE="`echo -e "${PASSPHRASE}\n${MESSAGE_BODY}" | $GPG_ENCRYPT --recipient $SENDER_ADDRESS`"
RECIPIENTS="$SENDER_ADDRESS"
SUBJECT="admin request results"