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…

(no subject)

Date: 2012-05-19 11:13 am (UTC)
lnr: Halloween 2023 (Default)
From: [personal profile] lnr
D'oh! Have you also told them?

It's also particularly silly calling it a paperless receipt though - given they're still handing out the paper ones! Or in my case this week they handed me someone else's - and I didn't notice until later. Oops.

(no subject)

Date: 2012-05-19 03:23 pm (UTC)
From: [identity profile] mobbsy.livejournal.com
I bet it works in Outlook.

(no subject)

Date: 2012-05-20 04:02 pm (UTC)
From: [identity profile] twigletzone.livejournal.com
Speaking as a publicity robot for the John Lewis Partnership - moan at them. I don't think Waitrose would be happy that one of our outlets is doing sumb shit like this...

(no subject)

Date: 2012-05-20 04:02 pm (UTC)
From: [identity profile] twigletzone.livejournal.com
Dumb. *headdesk*

(no subject)

Date: 2012-05-20 06:02 pm (UTC)
From: [identity profile] wellinghall.livejournal.com
In case you (a) don't know already, and (b) care, you appear to have made an unlocked post with your real surname in.

(no subject)

Date: 2012-05-20 06:10 pm (UTC)
ext_8103: (Default)
From: [identity profile] ewx.livejournal.com
Thanks, but I am onymous online. l-)

February 2025

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

Most Popular Tags

Expand Cut Tags

No cut tags