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

The attachments are broken when boundary="-" #544

Closed
nnnicolay opened this issue Jan 17, 2025 · 0 comments
Closed

The attachments are broken when boundary="-" #544

nnnicolay opened this issue Jan 17, 2025 · 0 comments
Labels
bug Something isn't working solved validated

Comments

@nnnicolay
Copy link

This was reproduced in the latest version 6.0.0

Describe the bug
When the boundary has only one character boundary="-" the parts of the email are not properly extracted by \Webklex\PHPIMAP\Structure::detectParts

The email content
Image

The value of the attachment in debugged
Image

As we can see the Conte has been detected as a part of the attachment which is wrong

Additional context
EML example with the problem
bad_boundary.eml.zip

Do you know if there is anything that can be done here?

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

No branches or pull requests

2 participants