how to view email notification statuses and errors in the Sage 300 People Database using SQL. It applies to the Notification.Mail table.
The Notification.Mail table stores all email notifications sent by the system. Each entry includes a status and an error comment if delivery fails. Status codes are:
- N = New
- D = Delivered
- E = Error
- S = Sending
The Comment column displays the error returned by the mail server, such as connection failures.
Access the Notification.Mail table
- In SQL Server Management Studio, expand Database.
- Expand Tables.
- Scroll down to Notification.Mail.
- Right-click and select Select Top 1000 Rows.
Access the Notification.Mail table
- In SQL Server Management Studio, expand Database.
- Expand Tables.
- Scroll down to Notification.Mail.
- Right-click and select Select Top 1000 Rows.
Sort by date
- Edit the query by adding:
ORDER BY DateCreated DESC

Review and export data
- Check the Status column:
- E indicates a failed notification.
- Review the Comment column for the error details.
- Export the data to Excel or view it directly in SQL.

- Solution ID
- 210422100931577
- Last Modified Date
- Mon Dec 01 09:42:58 UTC 2025
- Views
- 0