Problem
We need emails to be prioritized so that web password requests, receipts, and such don't get delayed because someone runs a process like RecConnect with 1000 emails, for example. Is this possible?
Solution
This is already being done behind the scenes.
RecTrac uses an Email Priority feature to order the sending of emails in the Email Queue. Emails are assigned a priority based on the importance given to the process. Emails are then sent out in priority order, from lowest to highest number. A priority of 0 is top priority: all emails with priority of 0 will be sent before others. The following processes are assigned priorities in this order:
- WebTrac/RecTrac Login Info - Priority of 0 (Top Priority)
- Anything not specifically set - Priority of 10 (Email processes not specifically set will get this priority and include Informational emails, Scheduled Event Notification emails, and others.)
- Standard Receipts - Priority of 20
- Processing Events with a Report/Standard Reports - Priority of 50
- Installment billing receipts/Statements/Invoices - Priority of 90
- RecConnect emails - Priority of 100 (Lowest Priority)
Note: Priority values are hardcoded and cannot be changed. However, you can adjust your Email Queue Scheduled Event's Email Seconds setting to send more or fewer emails each time the Email Queue Event runs, which is once a minute. This setting can have the biggest impact when sending a large volume of emails, such as RecConnect emails.
If your Application Server which runs the EVENTlive AppServer has excess resources, then consider setting the Email Seconds value to a minimum of 50 seconds. This will allow the Email Queue Event to send more emails when the event runs and will consume more server resources as a result.
If your Application Server is taxed for resources, then consider setting the Email Seconds value to 20 seconds. This will send fewer emails each time the Email Queue Event runs but will not tax your server resources as much.