GNU bug report logs - #50154
[Rmail]: Cannot save attachments from decryped email

Previous Next

Package: emacs;

Reported by: Ariel Costas <ariel <at> costas.dev>

Date: Sat, 21 Aug 2021 21:28:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Ariel Costas <ariel <at> costas.dev>
To: 50154 <at> debbugs.gnu.org
Subject: bug#50154: [Rmail]: Cannot save attachments from decryped email
Date: Sat, 21 Aug 2021 20:27:17 +0000
When I receive an unencrypted email on my inbox and view it through
Rmail, I get the option to save the file.

     [1:text/plain Show]

     [2:image/jpeg Show Save:My_attachment.jpg (400kB)]

However, when I receive an encrypted message, and decrypt it with `M-x
rmail-epa-decrypt`, I get to see the plaintext of all the email, with
the multipart/mixed Content-Type, the email's body and then another part
with the attachment as base64, without an option to save it to my disk.

    Content-Type: multipart/mixed;boundary=---------------------BOUNDARY

    -----------------------BOUNDARY
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain;charset=utf-8

    The body of the message
    -----------------------BOUNDARY
    Content-Type: mime/type; filename="My_attachment.format"; name="My_attachment.format"
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment; filename="My_attachment.jpg"; name="My_attachment.format"

Apparently, when decrypting the email, Rmail doesn't parse its contents
to highlight it or show the attachments as on the first scenario.

--
Ariel Costas https://costas.dev

Encrypt your email -- https://emailselfdefense.org/
  GnuPG public key -- https://costas.dev/pgp




This bug report was last modified 3 years and 293 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.