vmime icon indicating copy to clipboard operation
vmime copied to clipboard

Invalid Response Fetching some messages

Open toxicated101 opened this issue 1 year ago • 1 comments

Some messages being fetched from online.no smtp server are throwing a Invalid Response in IMAPParser.hpp::readResponse.

The m_errorResponseLine is *************START ******************* [^] 5882 FETCH (FLAGS (\Seen) BODYSTRUCTURE (("TEXT" "PLAIN" ("CHARSET" "utf-8") NIL NIL "QUOTED-PRINTABLE" 2 1 NIL NIL NIL NIL)("TEXT" "HTML" ("CHARSET" "utf-8") NIL NIL "QUOTED-PRINTABLE" 1257 12 NIL NIL NIL NIL) "ALTERNATIVE" ("BOUNDARY" "926efdef616cb7fe51973e212034c88e81d8901797de33e08d6042c450c3d27c") NIL NIL NIL) UID 24371 ENVELOPE ("Mon, 02 Dec 2024 11:11:51 +0000" "Kun For Deg! FÃ¥ Et GRATIS Bil Nødssett Fra NAF!" (("=?UTF-8?Q?Eksklusiv=20NAF?=" NIL "marketing" "mail.iex.nl")) (("=?UTF-8?Q?Eksklusiv=20NAF?=" NIL "marketing" "mail.iex.nl")) (("=?UTF-8?Q?Eksklusiv=20NAF?=" NIL "marketing" "mail.iex.nl")) ((NIL NIL "xxxxxxx" "online.no")) NIL NIL NIL "[email protected]")) [response] *************END **********************

TraceAtError.txt

toxicated101 avatar Dec 02 '24 14:12 toxicated101

It only appears to fail on some messages when fetching with attribute vmime::net::fetchAttributes::STRUCTURE, If I use vmime::net::fetchAttributes::FULL_HEADER instead I can get the message without an issue.

toxicated101 avatar Dec 02 '24 15:12 toxicated101