Setting Up Email Queue Sending
Contract Management can automatically send emails in response to contract status changes. By default, these emails are sent immediately. When Email Queue Sending is enabled, outgoing emails are placed in a queue and dispatched in a controlled, delayed manner. This feature is particularly useful in high-traffic environments or when organizations need closer monitoring and management of email delivery.
Enabling Email Queue Sending
To activate Email Queue Sending, follow these steps:
- In the Contract Management role center, click on Setup in the ribbon bar.
- Navigate to the Email Configuration tab.
- Enable the toggle labeled Email Queue Sending.
Info
Specifies whether emails are added to a queue instead of being sent immediately. This allows for delayed, monitored, and retriable email dispatch via the Email Queue system.
Once enabled, outgoing system emails will be added to the queue and not sent immediately. A background process (Job Queue) will periodically send all queued emails.
Using the E-Mail Queue
Once the feature is enabled, the system begins using the E-Mail Queue for all supported messages (e.g., password reset confirmations, registration emails).
To access and review the E-Mail Queue:
- From the Role Center, click on the E-Mail Queue List cue.
- The list will display all pending and processed email entries.
Each entry contains the following details:
- Entry No. – A unique identifier for the email entry.
- Email Account ID – The account from which the email will be sent.
- Recipient Email – The target email address.
- Subject and Content – The actual email content.
- HTML Formatted – Whether the email contains HTML.
- Sent – A flag indicating whether the email has already been sent.
Queue Dispatch via Job Queue
The dispatching of queued emails is handled via the Job Queue in Business Central. Ensure that the job responsible for sending queued emails is active.
To verify or configure the Job Queue:
- Navigate to Job Queue Entries via the Business Central search.
- Ensure that the job with the parameter SENT_EMAILS is listed and enabled.
- Review the recurrence setup and last run status to confirm the dispatch logic is functioning.
Info
Queued emails will only be sent when the Job Queue dispatcher runs. Ensure your Job Queue setup is healthy.