Skip to content

text/plain being lost #112

Open
Open
@samhh

Description

@samhh

I'm using Hydroxide with aerc and noticed that none of the emails I read are coming through as text/plain, even if the header in the ProtonMail web UI says Content-Type: text/plain. I've run Hydroxide with -debug and am seeing the following:

NteoSA UID STORE 2078 +FLAGS.SILENT (\Seen)
2020/07/30 13:53:07 >> PUT /api/messages/read
2020/07/30 13:53:07 {"IDs":["REDACTED"]}
2020/07/30 13:53:07 << PUT /api/messages/read
2020/07/30 13:53:07 &protonmail.resp{Code:1001, RawAPIError:(*protonmail.RawAPIError)(nil)}
2020/07/30 13:53:07 >> GET /api/events/REDACTED
2020/07/30 13:53:07 << GET /api/events/REDACTED
2020/07/30 13:53:07 &struct { protonmail.resp; *protonmail.Event }{resp:protonmail.resp{Code:1000, RawAPIError:(*protonmail.RawAPIError)(nil)}, Event:(*protonmail.Event)(0xc000182d80)}
NteoSA OK UID STORE completed
HTCrwQ UID FETCH 2078 (ENVELOPE UID BODYSTRUCTURE FLAGS BODY.PEEK[1.MIME] BODY[1])
2020/07/30 13:53:07 >> GET /api/messages/REDACTED
2020/07/30 13:53:07 << GET /api/messages/REDACTED
2020/07/30 13:53:07 &struct { protonmail.resp; Message *protonmail.Message }{resp:protonmail.resp{Code:1000, RawAPIError:(*protonmail.RawAPIError)(nil)}, Message:(*protonmail.Message)(0xc000682d80)}
2020/07/30 13:53:07 >> GET /api/messages/REDACTED
2020/07/30 13:53:07 << GET /api/messages/REDACTED
2020/07/30 13:53:07 &struct { protonmail.resp; Message *protonmail.Message }{resp:protonmail.resp{Code:1000, RawAPIError:(*protonmail.RawAPIError)(nil)}, Message:(*protonmail.Message)(0xc000703980)}
* 2078 FETCH (ENVELOPE ("Wed, 29 Jul 2020 21:49:25 +0100" "REDACTED" (("REDACTED" NIL "forwarding-noreply" "REDACTED")) () () ((NIL NIL "REDACTED" "REDACTED")) () () "" "REDACTED") UID 2078 BODYSTRUCTURE (("text" "html" () NIL NIL "quoted-printable" 0 0 NIL ("inline" ()) NIL NIL) "mixed" NIL NIL NIL NIL) FLAGS (\Seen) BODY[1.MIME] {73}
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain

 BODY[1] {1686}
REDACTED
)
HTCrwQ OK UID FETCH completed
2lf9uQ UID FETCH 2078 (BODYSTRUCTURE ENVELOPE INTERNALDATE FLAGS UID BODY.PEEK[HEADER])
* 2078 FETCH (BODYSTRUCTURE (("text" "html" () NIL NIL "quoted-printable" 0 0 NIL ("inline" ()) NIL NIL) "mixed" NIL NIL NIL NIL) ENVELOPE ("Wed, 29 Jul 2020 21:49:25 +0100" "REDACTED" (("REDACTED" NIL "forwarding-noreply" "REDACTED")) () () ((NIL NIL "REDACTED" "REDACTED")) () () "" "REDACTED") INTERNALDATE "29-Jul-2020 21:49:25 +0100" FLAGS (\Seen) UID 2078 BODY[HEADER] {406}
Content-Type: multipart/mixed;
 boundary=REDACTED
Message-Id: REDACTED
To: <REDACTED>
From: "REDACTED" <REDACTED>
Subject: REDACTED
Date: Wed, 29 Jul 2020 21:49:25 +0100

)
2lf9uQ OK UID FETCH completed

Is this a bug or am I missing something obvious? 🙂 Cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions