Announcements
I have created a flow that sends an email to an owners of records of D365 .
I don't want Emails to be sent to actual users of D365 while we are testing a Flow in Sandbox environment.
Anyone please help me over this?
Hi @Anonymous
Set a variable in your flow to true or false depening upon the environment the flow is pointing to
Then before the send email action, check if variable is true or false and accordingly send emails
--------------------------------------------------------------------------------If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Thanks @RezaDorrani . This is good idea. But i wanted to know, is there is anything like in D365.
For example in D365 if we remove "Email Server Profiles" then emails will not be delivered to actual users. Whereas we can see generated emails in Activities.
By this way we can make sure that Emails are generating perfectly while testing.
To make it clear, actually i want emails to be generated from Flow but should not be delivered to actual users while testing.
Thank you @Jcook . Currently even i am doing same for testing (Hard-coding to my own Email address ).
I wonder if there is any way like in D365 to stop delivery of emails to actual users.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Mohsin Ali 355
11manish 336 Super User 2026 Season 2
M Bilal Khan 308