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

RawText body splitting incorrect #1

Open
linus-hologram opened this issue May 30, 2023 · 0 comments
Open

RawText body splitting incorrect #1

linus-hologram opened this issue May 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@linus-hologram
Copy link
Owner

According to RFC 5321, each line of text found inside an SMTP message body should be no longer than 1000 bytes, including the CRLF sequence.

Hence, the CRLF sequence must follow no later than 998 ASCII characters after the start of a new line. If that is not the case, the line has to be split by inserting a CRLF sequence.

Work on this is to be done inside RawTextMail's getSplitTextBody() method.

@linus-hologram linus-hologram added the bug Something isn't working label May 30, 2023
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

1 participant