ewx: (red robot (waving arms))
[personal profile] ewx
  From: ocado@ocado.com
  To: (me)
  Subject: Your receipt for today's Ocado delivery
  MIME-Version: 1.0
  Content-Type: multipart/alternative;
	  boundary="----=_Part_391555_1305389411.1337407149222"

That means “This message contains the same thing several times rendered in different ways”.

  ------=_Part_391555_1305389411.1337407149222
  Content-Type: text/plain; charset=us-ascii
  Content-Transfer-Encoding: 7bit

  Hi Mr Kettlewell,

  Your paperless receipt for today's Ocado delivery is attached to this email.

So far so good.

  ------=_Part_391555_1305389411.1337407149222
  Content-Type: text/html; charset=us-ascii
  Content-Transfer-Encoding: 7bit

  <html>
  <body bgcolor="#EFE9E5">

The same thing in HTML. No problem there.

  ------=_Part_391555_1305389411.1337407149222
  Content-Type: application/pdf; name=receipt.pdf
  Content-Transfer-Encoding: base64
  Content-Disposition: attachment; filename=receipt.pdf

  JVBERi0xLjQKJaqrrK0KNCAwIG9iago8PAovUHJvZHVjZXIgKEFwYWNoZSBGT1AgVmVyc2lvbiAw

Something completely different as a PDF. No, that makes no sense whatsoever.

Thunderbird displays the HTML part and offers the PDF as an attachment. That’s probably what they had in mind, but if you try and save the attachment it says it has zero length and gives up. That’s obviously a bug but it is trying to deal with a nonsensical situation.

Apple Mail displays only the PDF.

I don’t think this can have been tested very thoroughly…

(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

February 2025

S M T W T F S
      1
2345678
9101112131415
16171819202122
232425262728 

Most Popular Tags

Expand Cut Tags

No cut tags