unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#50154: [Rmail]: Cannot save attachments from decryped email
@ 2021-08-21 20:27 Ariel Costas via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-08-22  9:49 ` Eli Zaretskii
  2021-08-29 11:11 ` Ariel Costas
  0 siblings, 2 replies; 6+ messages in thread
From: Ariel Costas via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-08-21 20:27 UTC (permalink / raw)
  To: 50154

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





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-08-29 11:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-21 20:27 bug#50154: [Rmail]: Cannot save attachments from decryped email Ariel Costas via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-22  9:49 ` Eli Zaretskii
2021-08-22 10:29   ` Ariel Costas via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-22 10:55     ` Eli Zaretskii
2021-08-29 11:11 ` Ariel Costas
2021-08-29 11:18   ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).