Closed thomasmassmann closed 4 years ago
As discussed, we should also use the info, for a retry send function. Meaning, when someone forgot to select some subscribers or groups whe could correct the selection and send the issue again. A ReceiversPostSendingFilter could make sure that no receiver get the email twice.
realted to #95
We use the branch currently in a customer project and so far it is working great, customer is happy.
Current status:
IReceiversPostSendingFilter
adapter filters recipient who already got the email, so issue will be sent only to failed and new recipientsSome bugfixes and enhancements required for this to work:
cssutils
log to error instead of warningIReceiversPostSendingFilter
subscriber call is moved from plone user and group behavior to send method to filter all recipients and not just plone usersIReceiversPostSendingFilter
is also checking for INewsletterIssue
adapters (which we use here to filter successfully sent emails)Released as 5.0.0b1.
It would be nice to store the information about successfully sent emails and failed ones per issue. Currently the information is logged, but not available for further usage.