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

Email collector consecutive actions #32390

Open
benoitpascal opened this issue Dec 17, 2024 · 0 comments
Open

Email collector consecutive actions #32390

benoitpascal opened this issue Dec 17, 2024 · 0 comments
Labels
Bug This is a bug (something does not work as expected)

Comments

@benoitpascal
Copy link
Contributor

Bug

When only a part of the emails are collected (with a maximum quantity smaller than the actual total), all emails appear to be marked as collected. Running the email collector manually then displays a message indicating that there are no new emails.

I believe this happens because the collector relies on the last collection date to identify 'new emails.' As a result, once a partial collection is performed, all remaining emails are considered to be in the past and marked as 'processed,' even though they were not actually collected.

Dolibarr Version

20.0.0

Environment PHP

8.2.21

Environment Database

10.6.20-MariaDB

Steps to reproduce the behavior and expected behavior

Configure email collector with a very small maximum quantity (eg: 2)
Collect twice. (Only first collect should work)

Attached files

No response

@benoitpascal benoitpascal added the Bug This is a bug (something does not work as expected) label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

1 participant