cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TheGrouchyITGuy
New Member

do not send an email to specific users

Hi,

 

I'm trying to amend a working flow so that it won't send replies to itself and end up in a perpetual loop.

 

The current working flow is

"When a new email arrives (V3)" - When a new email arrives to or CC "123@abc.com"

"send an email (V2)" -

To sender -  using the From dynamic content

subject - thanks for your email

body - your request has been logged etc. 

from - the mailbox that has been sent to

 

And that is it, pretty simple stuff and working.

 

NCR 001.jpg

 

Today someone with sending permissions for "123@abc.com" has been sending mail to "123@abc.com" which has sent the reply, which has triggered another reply and so on.

 

So now I want to stop this type of behaviour. This has led me to add a condition in place of the '"send an email action"

 

Now my flow looks like this:

"When a new email arrives (V3)" - When a new email arrives to or CC "123@abc.com"

Condition

Using Dynamic content "From" is not equal to "123@abc.com"

↓ if Yes "send an email (V2)" as above

for if no I've added no action which to me means nothing will occur

 

NCR 002.jpg

 

The trouble is this has not stopped the response from being sent.

 

I'd like to know if there is any way I can stop the flow from sending emails to the address in the "When a new email arrives" rule and any other email addresses I may wish to add in the future as I can't see any other exception type option?

 

any help you may be able to offer me will be gratefully received for what may be a simple fix.

 

Many thansk

2 REPLIES 2
abm
Super User
Super User

Hi @TheGrouchyITGuy 

 

You mentioned it has stopped the response from being sent since that condition is added. Yes it will be for that address. Can't you filter by Subject? If someone had permissions to send to that email then there is no way you could stop that unless adding a filter in the subject to decide what to do next?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Hi @abm.

 

thanks for coming back to me so quickly. In my post, I've put that adding this condition has not the reply from being sent.

 

With the condition, I've used which is From - is not equal to - "123@abc.com" and adding the response to the yes side of the condition has resulted in the email still being sent to "123@abc.com".

 

I've tried the reverse using From - is equal to - "123@abc.com" and adding my reply to the no section but the same has occurred. Whatever way I try to add an exception I'm getting an email sent to "123@abc.com" by "123@abc.com"

 

The mailbox is a shared mailbox so we can't stop remove the send as privileges to the delegated users.

 

I can't try to filter by subject line as my stakeholder wants to ensure that every email sent to this mailbox gets the reply and our users will reply to this email and not wait to be contacted by that team as we all know that users can do some daft things.

 

I hope that better explains what is going on and what can be done to stop these replies from being sent to specified mailboxes?

 

Many thanks

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,267)