Always set encoding to 7bit for multipart/encrypted messages
[pgp-tools.git] / caff / caff
index 052ef8b84314748974bab8fdc3006936f0657672..bec7b74b1eb6c8fcac28473a88e6842d058e93ca 100755 (executable)
--- a/caff/caff
+++ b/caff/caff
@@ -746,7 +746,8 @@ sub send_mail($$$@) {
                $message = $stdout;
 
                $message_entity = MIME::Entity->build(
-                       Type        => 'multipart/encrypted; protocol="application/pgp-encrypted"');
+                       Type        => 'multipart/encrypted; protocol="application/pgp-encrypted"',
+                       Encoding    => '7bit');
 
                $message_entity->attach(
                        Type        => "application/pgp-encrypted",