Working with the outbox¶
Debt Collector Email Outbox contains prepared messages and their processing status. Use it to review communication and to check the result of the sending cycle.
Prepare messages¶
First apply the latest customer payments and review the configurations to be processed.
Choose the preparation method that fits the task:
| Method | Scope |
|---|---|
| Process Configuration on a configuration card | Prepare messages for that active configuration. |
| Process on Debt Collector Email Outbox | Prepare messages for all active configurations. |
| Scheduled codeunit 71521884 | Prepare messages for all active configurations through Job Queue. |
Preparation creates the message body, recipient information, invoice links and available attachments. Sending is handled by the separate EmailSenderDCPWR process.
Review the outbox¶
Open Debt Collector Email Outbox using search. Review ID, Status, To, Cc, Bcc and Subject for the relevant messages.
Select a message and use:
- Preview Email Body to inspect its content.
- Attachments to inspect the related PDF files.
Check recipient, wording, language, invoice references, remaining amounts and currencies. A grouped message should clearly identify the invoices and the currency of each amount.
The message body and attachments are prepared in advance. The sender delivers the stored content; it does not recalculate invoice balances before delivery. Keep preparation and sending close together. If payment information changes between them, review the affected unsent messages before continuing the sending cycle.
Send and check the result¶
Run the configured EmailSenderDCPWR, codeunit 71521885, through the job queue as described in Email accounts and job queues.
| Status | Meaning |
|---|---|
| New | Message prepared and awaiting successful processing. |
| Sent | The sending process reported success. |
| Error | Sending failed and the message requires review; eligible errors are considered by the retry process. |
Sent confirms the sending result, not that the recipient has read the message. Check both the message status and the job history when investigating a delivery question.
If messages remain New after the planned cycle, review creation dates and job execution history before deciding how to process them. For errors, check the underlying account, connection or message issue rather than repeatedly generating replacements.
Find an invoice's notifications¶
Open Customer Ledger Entries, select the invoice entry and review the Sent Notifications FactBox. It shows the related notification status and sent date/time where available.
The FactBox can also show prepared notifications. Check Status and Sent together; the FactBox title alone does not confirm successful delivery.
Keep history and manage obsolete messages¶
Retain sent-message records for operational traceability. Deleting a Debt Collector outbox record also removes its linked invoice-notification records and attachments, including information used by the same-day preparation check.
If an unsent message is no longer appropriate, first establish its actual sending status and pause the relevant sending job while the implementation partner resolves the entry. Deleting an outbox record does not recall an email that has already been sent.
See Troubleshooting for checks on missing proposals, recipient selection, language, attachments and processing errors.