web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Infinite email loop wi...
Power Automate
Answered

Infinite email loop with auto reply

(0) ShareShare
ReportReport
Posted on by

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-Mailbox-Flow/td-p/40249

 

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?

Categories:
I have the same question (0)
  • Verified answer
    v-yuazh-msft Profile Picture
    Microsoft Employee on at

    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/183558#M17896

     

    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 Profile Picture
    202 on at

    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 

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard