Uploaded image for project: 'Gateway'
  1. Gateway
  2. GATEWAY-89

Apple Mail sends certain attachments as part of alternative multipart/mixed. The attachments are therefore not added to the encrypted PDF

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Apple Mail sends certain attachments as part of alternative multipart/mixed. The attachments are therefore not added to the encrypted PDF.

      Apple Mail creates the following MIME

      Subject: The test document with attachment
      Content-Type: multipart/alternative; boundary="Apple-Mail=_A69208E7-C6A1-4792-AFB5-105A042DF9A1"
      Mime-Version: 1.0 (Mac OS X Mail 8.2 (2070.6))
      X-Mailer: Apple Mail (2.2070.6)

      --Apple-Mail=_A69208E7-C6A1-4792-AFB5-105A042DF9A1
      Content-Transfer-Encoding: quoted-printable
      Content-Type: text/plain;
      charset=utf-8

      text part

      --Apple-Mail=_A69208E7-C6A1-4792-AFB5-105A042DF9A1
      Content-Type: multipart/mixed;
      boundary="Apple-Mail=_9AB1BC77-49C6-454A-88E2-9F8DC0892C5B"

      --Apple-Mail=_9AB1BC77-49C6-454A-88E2-9F8DC0892C5B
      Content-Transfer-Encoding: quoted-printable
      Content-Type: text/html;
      charset=utf-8

      HTML part

      --Apple-Mail=_9AB1BC77-49C6-454A-88E2-9F8DC0892C5B
      Content-Disposition: inline;
      filename="Panasonic KXT7420.pdf"
      Content-Type: application/pdf;
      x-mac-hide-extension=yes;
      x-unix-mode=0644;
      name="Panasonic KXT7420.pdf"
      Content-Transfer-Encoding: base64

      BASE64 encoded PDF

      --Apple-Mail=_9AB1BC77-49C6-454A-88E2-9F8DC0892C5B
      Content-Transfer-Encoding: 7bit
      Content-Type: text/html;
      charset=us-ascii

      Some HTML

      -Apple-Mail=_9AB1BC77-49C6-454A-88E2-9F8DC0892C5B-

      -Apple-Mail=_A69208E7-C6A1-4792-AFB5-105A042DF9A1-

        Attachments

          Activity

            People

            • Assignee:
              martijn_brinkers Martijn Brinkers
              Reporter:
              martijn_brinkers Martijn Brinkers
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: