unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ariel Costas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 50154@debbugs.gnu.org
Subject: bug#50154: [Rmail]: Cannot save attachments from decryped email
Date: Sat, 21 Aug 2021 20:27:17 +0000	[thread overview]
Message-ID: <0102017b6a656f19-9f5b43e3-6315-4b4c-9469-883aa0d2ee88-000000@eu-west-1.amazonses.com> (raw)

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





             reply	other threads:[~2021-08-21 20:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-21 20:27 Ariel Costas via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-08-22  9:49 ` bug#50154: [Rmail]: Cannot save attachments from decryped email 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0102017b6a656f19-9f5b43e3-6315-4b4c-9469-883aa0d2ee88-000000@eu-west-1.amazonses.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=50154@debbugs.gnu.org \
    --cc=ariel@costas.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).