boundary=\"${boundary}\"
Content-Disposition: inline"
+ # this is the body of the message to be sent, so no indentation here
MESSAGE_BODY="`$GPG --armor --export $LIST_ADDRESS`"
- MESSAGE_BODY="`echo -e "${PASSPHRASE}\n${MESSAGE_BODY}" | $GPG_ENCRYPT --recipient $recipients`"
MESSAGE_BODY="\
Content-Type: multipart/mixed; boundary=\"$keyboundary\"
Content-Disposition: inline
--${keyboundary}--"
+ # now encrypt the message body
+ MESSAGE_BODY="`echo -e "${PASSPHRASE}\n${MESSAGE_BODY}" | $GPG_ENCRYPT --recipient $recipients`"
+
# this is the body of the message to be sent, so no indentation here
MESSAGE_BODY="\
This is an OpenPGP/MIME encrypted message (RFC 2440 and 3156)