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

SMTP-Header with linebreak ist not parsed correct #1

Closed
acbekoac opened this issue May 26, 2023 · 2 comments
Closed

SMTP-Header with linebreak ist not parsed correct #1

acbekoac opened this issue May 26, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@acbekoac
Copy link

I used ctrl-u to view the SMTP header in Thunderbird and copy these into a text file. Here some had a line break, for example

Received: from srvpsmail0.psrato.pt ([fe80::cd08:f794:f374:3943]) by
srvpsmail0.psrato.pt ([fe80::cd08:f794:f374:3943%3]) with mapi id
15.01.2507.023; Mon, 22 May 2023 10:36:16 +0100

Those are not parsed complete/correct

@z0m31en7 z0m31en7 self-assigned this May 26, 2023
@z0m31en7 z0m31en7 added the bug Something isn't working label May 26, 2023
@z0m31en7
Copy link
Owner

If the email header lines in your text file contain line breaks, the parsing might not work correctly. To handle multiline headers, we can modify the code to concatenate the lines until a new header field starts, Let me update the code.

@z0m31en7
Copy link
Owner

The issue is fixed, thanks for contributing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants