- Calculate and fetch recipient count on demand. Selecting include/exclude groups in Recipients field won't trigger service to fetch recipient count, it will rather provide a refresh icon beside Recipient count text. Clicking which will refresh recipient count.
- Avoid creating dummy mailing and job using mailing.create API during draft. Instead store the mailing instance in cache and on keep updating the instance on changing attributes.
- Add a BAO function to fetch ONLY recipients and store the results in cache. This cache will get updated if refresh icon is clicked as mentioned in step 1. Avoid the use of mailing job before scheduling mail.
- Mailing job will ONLY be created if the mail is scheduled.
Étiquette