Hi,
I've built a flow to send a reply to every email sent to a specific shared mailbox using the Outlook connectors "When a new email arrives (V3)2 and "Send an email (V2)"
However, we have found on a few occasions that this gets caught into a loop and keeps sending if it encounters an automatic reply such as an out of office as the email from the shared mailbox is seen as a new email so a new OOO is sent.
I've tried to break this circle by adding a condition into the flow that if "Subject" "does not start with " "Automatic Reply:" on the no condition nothing is added while on the yes condition I send the V2 email as shown below:
When an email arrives
after condition
However, I have found that this is still sending the email despite the condition matching. At the moment it's only sending one email but I'm concerned if I can't find a way to stop this email from being sent to any email with the start of the subject line "Automatic Reply:" I'll end up with another mail storm incident in the future.
Can anyone advise me the best way to ensure that no email is sent via the flow to any email with Automatic Reply: at the start of the subject line?
Any advice you may be able to provide will be gratefully received.
Many thanks,
Simon
Solved! Go to Solution.
Hi Simon,
Testing this in my test environment, I was able to get this to work exactly how you have this set up. My only guess is that the subject is not being formatted the same or there might be a space or something at the beginning of the string. Double check exactly what is coming through as the subject.
Regards,
Alex
-------
Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Simon,
Testing this in my test environment, I was able to get this to work exactly how you have this set up. My only guess is that the subject is not being formatted the same or there might be a space or something at the beginning of the string. Double check exactly what is coming through as the subject.
Regards,
Alex
-------
Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @TheGrouchyITGuy,
can you create a distribution list NoReply@contoso.com with no members and send as this list? It will solve the loop problem completely, as any email delivered to NoReply@contoso.com will just disappear.
Hi @alrez
Thanks for your time, this made me go back and look at the reply and resolve my issue.
Kind regards
Simon
User | Count |
---|---|
88 | |
39 | |
23 | |
20 | |
16 |
User | Count |
---|---|
127 | |
49 | |
46 | |
34 | |
25 |