cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mark1989
Helper II
Helper II

Infinite email loop with auto reply

Hi,

 

I have a task to setup an automatic email reply for a shared mailbox. Thanks to the link belows i was able to achieve that

 

https://powerusers.microsoft.com/t5/General-Flow-Discussion/Automated-Response-to-Sender-Shared-Mail...

 

My question now is in regards to potential infinite email loops. This is in regards to spam emails or even out-of-office emails. For example, 

 

  1. spam email arrives to Shared Mailbox
  2. MS Flow sends a reply email to the spam email address
  3. No valid mailbox from spam email address, email rejection / error goes back to Shared Mailbox
  4. MS Flow A will auto respond

Could this actually happen?

1 ACCEPTED SOLUTION

Accepted Solutions
v-yuazh-msft
Community Support
Community Support

Hi @mark1989,,

 

As is refered in the link below:

https://powerusers.microsoft.com/t5/General-Flow-Discussion/Infinite-email-loop-with-auto-reply/m-p/...

 

Are there any special words in the spam emails or event out-of-office emails?

If there are certain special words in these emails, please consider adding a Condition to filter the emails.

The condition could be configured as Subject or Body contains specific words such as "No valid mailbox", and if yes, do nothing, if no, reply to the email automatically.

 

The screenshot should as below:

Capture.PNG

 

Best regards,

Alice

View solution in original post

2 REPLIES 2
v-yuazh-msft
Community Support
Community Support

Hi @mark1989,,

 

As is refered in the link below:

https://powerusers.microsoft.com/t5/General-Flow-Discussion/Infinite-email-loop-with-auto-reply/m-p/...

 

Are there any special words in the spam emails or event out-of-office emails?

If there are certain special words in these emails, please consider adding a Condition to filter the emails.

The condition could be configured as Subject or Body contains specific words such as "No valid mailbox", and if yes, do nothing, if no, reply to the email automatically.

 

The screenshot should as below:

Capture.PNG

 

Best regards,

Alice

Sharuk
Helper V
Helper V

hi @mark1989 , i got into the same problem, my flow is going to infinite loop in auto replies/spam mails cases can you please suggest anything to avoid this scenario, thanks 

Helpful resources

Announcements
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.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Users online (1,434)