<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-to-log-original-email-recipients-in-outsystems-odc-when-test-center-is-enabled-o1kqaelgf" -->

---
title: How to Log Original Email Recipients in OutSystems ODC...
description: A practical workaround addresses a quirk in OutSystems ODC where enabling Test Center in non-production stages overwrites the original To, CC, and Bcc email...
canonical: https://daily.dev/posts/how-to-log-original-email-recipients-in-outsystems-odc-when-test-center-is-enabled-o1kqaelgf
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How to Log Original Email Recipients in OutSystems ODC When Test Center Is Enabled | daily.dev
og:description: A practical workaround addresses a quirk in OutSystems ODC where enabling Test Center in non-production stages overwrites the original To, CC, and Bcc email...
og:url: https://daily.dev/posts/how-to-log-original-email-recipients-in-outsystems-odc-when-test-center-is-enabled-o1kqaelgf
og:image: https://api.daily.dev/og/posts/O1KqAElGF.png
og:image:alt: How to Log Original Email Recipients in OutSystems ODC When Test Center Is Enabled
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Log Original Email Recipients in OutSystems ODC When Test Center Is Enabled

**[ITNEXT](https://daily.dev/sources/itnext)** · 4 min read · 0 upvotes · 0 comments

## Summary

A practical workaround addresses a quirk in OutSystems ODC where enabling Test Center in non-production stages overwrites the original To, CC, and Bcc email fields with the test center's own address, making it hard to verify intended recipients. The suggested solution implements a reusable Server Action ('PrintReceiversForNonPROD') in a Library that detects non-production hosts (checking for '-dev.' or '-test.' substrings via the Request_GetDomain action) and prints the original recipients directly in the email body, while staying empty in production. This centralizes recipient visibility without needing separate logs or per-application configuration.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://itnext.io/how-to-log-original-email-recipients-in-outsystems-odc-when-test-center-is-enabled-404eb48f1c85>

## Questions this post answers

### Why does my OutSystems ODC app send emails to the test center instead of the recipients I set in code?

When Test Center is enabled in non-production stages, ODC overwrites the programmatically defined To, CC, and Bcc fields with the test center's own email address rather than the values a developer set. This differs from OutSystems O11 behavior. A workaround is to build a Server Action that checks if the host contains '-dev.' or '-test.' and, if so, prints the original intended recipients directly in the email body for verification.

_Developers wrangling OutSystems ODC quirks can track workarounds like this one on daily.dev._

## Similar posts on daily.dev

- [As agentic dev tools boom, workflow auditability becomes the constraint](https://daily.dev/posts/as-agentic-dev-tools-boom-workflow-auditability-becomes-the-constraint-vr9ylzsgj) · The New Stack · 0 upvotes · 0 comments
- [Enhancing jOOQ Debug Logging for Safer Production Use](https://daily.dev/posts/enhancing-jooq-debug-logging-for-safer-production-use-jeuazct7i) · JOOQ · 0 upvotes · 0 comments
- [Distributed tracing for CI pipelines without touching a single workflow file](https://daily.dev/posts/distributed-tracing-for-ci-pipelines-without-touching-a-single-workflow-file-hgxnjqulj) · CNCF · 1 upvotes · 0 comments
- [How to Diagnose Production Bugs When You Can't Reproduce Them Locally](https://daily.dev/posts/how-to-diagnose-production-bugs-when-you-can-t-reproduce-them-locally-kxdnllwui) · freeCodeCamp · 2 upvotes · 0 comments

---

Tags: [#nocode](https://daily.dev/tags/nocode)

[View this post on daily.dev](https://daily.dev/posts/how-to-log-original-email-recipients-in-outsystems-odc-when-test-center-is-enabled-o1kqaelgf)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How to Log Original Email Recipients in OutSystems ODC When Test Center Is Enabled","url":"https://daily.dev/posts/how-to-log-original-email-recipients-in-outsystems-odc-when-test-center-is-enabled-o1kqaelgf","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-to-log-original-email-recipients-in-outsystems-odc-when-test-center-is-enabled-o1kqaelgf"},"datePublished":"2026-09-07T12:21:16.252Z","dateModified":"2026-09-07T15:55:20.952Z","description":"A practical workaround addresses a quirk in OutSystems ODC where enabling Test Center in non-production stages overwrites the original To, CC, and Bcc email...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/927f703735bcb607546795820cec19fb?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/927f703735bcb607546795820cec19fb?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"ITNEXT","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"ITNEXT","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/itnext2","url":"https://daily.dev/sources/itnext"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-to-log-original-email-recipients-in-outsystems-odc-when-test-center-is-enabled-o1kqaelgf","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"nocode","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"ITNEXT","item":"https://daily.dev/sources/itnext"},{"@type":"ListItem","position":3,"name":"How to Log Original Email Recipients in OutSystems ODC When Test Center Is Enabled"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/how-to-log-original-email-recipients-in-outsystems-odc-when-test-center-is-enabled-o1kqaelgf#faq","mainEntity":[{"@type":"Question","name":"Why does my OutSystems ODC app send emails to the test center instead of the recipients I set in code?","acceptedAnswer":{"@type":"Answer","text":"When Test Center is enabled in non-production stages, ODC overwrites the programmatically defined To, CC, and Bcc fields with the test center's own email address rather than the values a developer set. This differs from OutSystems O11 behavior. A workaround is to build a Server Action that checks if the host contains '-dev.' or '-test.' and, if so, prints the original intended recipients directly in the email body for verification. Developers wrangling OutSystems ODC quirks can track workarounds like this one on daily.dev."}}]}
```

