Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Response Fetching some messages #317

Open
toxicated101 opened this issue Dec 2, 2024 · 1 comment
Open

Invalid Response Fetching some messages #317

toxicated101 opened this issue Dec 2, 2024 · 1 comment

Comments

@toxicated101
Copy link

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 "202412021111.4B2BBp0G115507@mail119c60.megamailservers.eu"))
[response]
*************END **********************

TraceAtError.txt

@toxicated101
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant