Redirect all outbound email in a test environment
Send every outbound email from a development or test instance to one address, so real people are not emailed.
Redirect outbound email on a development or test instance when you test with real users as requesters and assignees. Every email then goes to one mailbox, not to those people. Do not set this on a production instance.
Before you begin
- You need the
administratorrole. - Switch to the Administration workspace with the Workspace selector at the foot of the menu.
- Have the address of a mailbox your testers can read.
Steps
-
Go to Messaging & notifications → Notifications & templates → Email and notification settings.

The Email and notification settings item in the Messaging & notifications menu. -
On the Email tab, enter the address in Send all email to.

The Email tab of Email and notification settings, with an example address in Send all email to. -
Select Save.
Result
Notifications still build their recipients, subject and body. When the Outbound email processing job sends an email, it goes only to the address you entered, with no CC or BCC, and the email’s log notes the redirect. The setting covers every email the instance sends, through every messaging account. Microsoft Teams and WhatsApp messages are not redirected.
Options
| To | Do this |
|---|---|
| Stop all outbound email | Enter EMAIL_DISABLED_OVERRIDE in Send all email to. No email is sent, and each one gets the status Error with a message that email sending is disabled. |
| Restore normal delivery | Clear Send all email to and select Save. Do this when a test instance becomes the production instance. |
A new instance is installed with EMAIL_DISABLED_OVERRIDE in the field, unless it is a staging or demo instance. No email leaves it until you clear or change the value.
The field accepts an email address, EMAIL_DISABLED_OVERRIDE or nothing. Servicely rejects any other value. It stores the value in the notification.email.outbound.override property, which the error message names.