How to manage a Send Email Test Run Using a Global Variable?

How to manage a Send Email Test Run Using a Global Variable?

FIRST CREATED ON 14 Mar 2024  I  AUTHOR Emma Camacho

To ensure email tests are managed properly and avoid sending emails to unintended recipients, use a Global Variable to control test runs. This allows you to easily toggle between test and live modes. Here’s a quick guide on how to set it up:


(1) Create a Global Variable 

Name: vTestMode






(2) Open the Send E-Mail Action -> Create Recipients Reference




(3) Expand the Expression window




(4) Test the Global Variable with an if( ) statement to send the email to a dummy email or to a real recipient




Info

Looking for Additional Guidance?


If you require more detailed information or further assistance, please visit our comprehensive Online Documentation. Our resources are designed to help you navigate all features and functionalities effectively.



    • Related Articles

    • How to create a Task using a PowerBI Supporting Report using DAX queries (with example)?

      FIRST CREATED ON 23 October 2025 I AUTHOR Emma Camacho Following the example How to create a Word report using PowerBI as a data source in Mail & Deploy using DAX queries (with example)? we are ready to send the Reports to the Store Managers. The ...
    • How to create a Task using a PowerBI Supporting Report using SQL queries (with example)?

      FIRST CREATED ON 13 October 2025 I AUTHOR Emma Camacho Following the example How to create a Word report using PowerBI as a data source in Mail & Deploy (with example)? we are ready to send the Reports to the Store Managers. The following screenshot ...
    • How to send Reports to Teams Channels?

      FIRST CREATED ON 10 Jul 2025 I AUTHOR Emma Camacho This is an example of how to send Reports to Teams Channels. 1) Get the email addresses of the Channels. 2) Add them to the supporting app. 3) Create a Task that cycles the Region field, create a ...
    • How to manually send notifications when a task fails?

      FIRST CREATED ON 16 December 2024 I AUTHOR Emma Camacho Sending E-Mail Notifications in Mail & Deploy when a task fails ensures that you’re promptly informed of any issues. Although you can use the automatic E-Mail Notifications in Mail & Deploy (for ...
    • How to include links in an email body?

      FIRST CREATED ON 26 Mar 2023 I AUTHOR Emma Camacho When you need to include a link in an email, embedding it directly in the email body can make it more accessible and engaging for the recipient. Follow these steps: (1) You need the HTML code for ...