Invalid MimeType Related instead of Mixed
Closed, ResolvedPublic

Assigned To
Authored By
mmontkowski
Mar 10 2026, 4:44 PM

Description

If an Mail only contains unrelated attachments (No CID) those don't get send as multipated/mixed but multipart/related

Event Timeline

mmontkowski mentioned this in Unknown Object (Maniphest Task).Mar 16 2026, 9:22 AM
ebo changed the task status from Open to Testing.Mar 16 2026, 10:30 AM
ebo triaged this task as Normal priority.
ebo added projects: gpgol, gpd5x.
ebo moved this task from Backlog to Done on the gpgol board.
ebo moved this task from Backlog to WIP on the gpd5x board.

A pgp signed/encrypted message with drag&drop attachments (no CID i guess) will contain the attachments in an multipart/mixed part:

  • multipart/signed
    • multipart/mixed
      • multipart/alternative (mail content)
        • text/plain
        • text/html
      • application/vnd.oasis.opendocument.text (odt attachment)
      • application/pdf (pdf attachment)
      • ...
    • application/pgp-signature

@mmontkowski Does this confirm, that the issue is fixed? How to test this otherwise?

timegrid claimed this task.

I also tested a mail with mixed related/unrelated images, looks fine:

  • multipart/signed
    • multipart/mixed
      • multipart/related
        • multipart/alternative (mail content)
          • text/plain
          • text/html
        • image/png (related image, via insert image)
      • image/png (unrelated image, via attach file)
    • application/pgp-signature
timegrid edited projects, added gpd5x (gpd-5.1.0); removed gpd5x.