Emails are deleted from the message queue by mistake #5225

Open
opened 2026-02-20 16:31:40 -05:00 by deekerman · 0 comments
Owner

Originally created by @SinergiaCRM on GitHub (Aug 2, 2024).

Issue

If we have several campaigns and one of them has an exclusion LPO by ID, if we send a first campaign whose sending LPOs contain an email that is contained in the exclusion LPO of another campaign, if we send the second campaign when the emails from the first campaign are still in the message queue, all occurrences of the emails that were excluded by ID will be removed from the message queue, without differentiating by campaign.

Uploading EmailsDeletedByError.gif…

Possible Fix

No response

Steps to Reproduce the Issue

1. Create a Default LPO with two Contacts and another Exclusion by ID with one of the contacts
2. Create two campaigns, one that only has the Default LPO and another that has both LPOs.
3. Send the campaign that does not have the exclusion LPO and check that both contacts appear in the message queue.
4. Send the campaign that does have the exclusion LPO and check that the sending of the campaign email without the exclusion LPO to the contact that belongs to the exclusion LPO of the second campaign has disappeared from the message queue when it should not have done so.

Context

No response

Version

7.14.3

What browser are you currently using?

Firefox

Browser Version

128.0.3 (64-bit)

Environment Information

MySQL, PHP Version 7.4.33

Operating System and Version

Ubuntu 22.04.4 LTS

Originally created by @SinergiaCRM on GitHub (Aug 2, 2024). ### Issue If we have several campaigns and one of them has an exclusion LPO by ID, if we send a first campaign whose sending LPOs contain an email that is contained in the exclusion LPO of another campaign, if we send the second campaign when the emails from the first campaign are still in the message queue, all occurrences of the emails that were excluded by ID will be removed from the message queue, without differentiating by campaign. ![Uploading EmailsDeletedByError.gif…]() ### Possible Fix _No response_ ### Steps to Reproduce the Issue ```bash 1. Create a Default LPO with two Contacts and another Exclusion by ID with one of the contacts 2. Create two campaigns, one that only has the Default LPO and another that has both LPOs. 3. Send the campaign that does not have the exclusion LPO and check that both contacts appear in the message queue. 4. Send the campaign that does have the exclusion LPO and check that the sending of the campaign email without the exclusion LPO to the contact that belongs to the exclusion LPO of the second campaign has disappeared from the message queue when it should not have done so. ``` ### Context _No response_ ### Version 7.14.3 ### What browser are you currently using? Firefox ### Browser Version 128.0.3 (64-bit) ### Environment Information MySQL, PHP Version 7.4.33 ### Operating System and Version Ubuntu 22.04.4 LTS
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#5225
No description provided.