jakartaee / mail-api

Jakarta Mail Specification project
https://jakartaee.github.io/mail-api
Other
240 stars 100 forks source link

POP3 cannot get the entire mail in some situation. #692

Closed samunbest closed 1 year ago

samunbest commented 1 year ago

Describe the bug POP3 cannot get the entire mail in some situation, the code break the loop by mistake when the line is composed of a single period.

To Reproduce Steps to reproduce the behavior: you can see the eml file attached behind.

Expected behavior get the whole completely and correctly.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Mail server: