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

Not all attachments are pushed to the collection #372

Merged
merged 2 commits into from
Feb 13, 2023

Conversation

AdrianKuriata
Copy link
Contributor

@AdrianKuriata AdrianKuriata commented Feb 9, 2023

I have a problem with fetching all attachments from the email (v4 - I don't know abount other versions). In example I have 7 attachments on the email, but randomly getting 5 or 6 attachments. I don't know, maybe problem is with text attachments, because I have a problem only with text attachments, but this patch solvs the problem. I can't reproduce this problem and can't share my issue, because it is private data. You can try to get email message with 10 attachments with different types, maybe you will reproduce it. Is possible to fast merge this pull request?

There is a hotfix and tag for v4 which I using in project to solve this problem https://github.com/AdrianKuriata/php-imap/tree/4.1.2-hotfix https://github.com/AdrianKuriata/php-imap/tree/4.1.2.2

There was a problem with fetch all attachments. Some attachments are not added to the collection. Checking attachment ID before add it to collection solved the problem in my case.
Fix for saving all attachments from them messages.
@Webklex
Copy link
Owner

Webklex commented Feb 13, 2023

Hi @AdrianKuriata ,
thanks for your time and effort to investigate this issue. I'm indeed not able to reproduce this issue myself, but I don't see any harm in merging your pr.

Thanks again and best regards,

@Webklex Webklex merged commit 46ef2a6 into Webklex:master Feb 13, 2023
gitstashgithub pushed a commit to gitstashgithub/php-imap that referenced this pull request Nov 20, 2023
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

Successfully merging this pull request may close these issues.

2 participants