01-04-2021 04:39 AM - edited 01-04-2021 04:44 AM
Hello,
We've enabled subject header tagging for emails from external senders. This works as expected. However, we're seeing stacking Re's in the subject which is causing issues with the conversation view in Outlook. I've attached an example of what this looks like.
The incoming filter looks like:
Condition: subject != "^\\[External\\]"
Action: edit-header-text("Subject", "(.*)", "[EXTERNAL]\\1")
We also have an outgoing filter that looks like:
Condition: subject == "\\[EXTERNAL\\]"
Action: edit-header-text("Subject", "\\[EXTERNAL\\]", "")
To be clear, I'm testing to a Gmail address which is not showing this behavior. Is it possible to adjust the filter as is to remove the stacking Re's?
Solved! Go to Solution.
01-04-2021 08:52 AM - edited 01-04-2021 08:54 AM
I'm only really concerned with my people seeing stacking. I know... selfish. But... my latest test seems to do the trick:
subject != "\\[EXTERNAL\\]"
edit-header-text("Subject", "(.*)", "[EXTERNAL] \\1")
I also have the outgoing filter set to:
subject == "^(\\[EXTERNAL\\] Re\\:)"
edit-header-text("Subject", "(\\[EXTERNAL\\] Re\\:)", "(Re\\:)")
I guess the bad thing would be if an external sender is also tagging, my tag wouldn't work.
01-04-2021 05:17 AM
01-04-2021 05:59 AM
The syntax you provided isn't being accepted in the ESA. So, I've tried the below syntax on the outgoing filter:
edit-header-text("Subject", "(?i)\\[(EXTERNAL)\\]", "") = No change
edit-header-text("Subject", "(\\[EXTERNAL\\])", "") = No change
01-04-2021 06:32 AM
01-04-2021 06:55 AM
That's not the behavior I'm seeing.
I see a message from you:
"[External] Let's chat"
I reply and you get:
"Re: Let's chat"
You reply and I get:
"[External] Re: Re: Let's chat"
I reply and you get:
"Re: Re: Let's chat"
You reply and I get
"[External] Re: Re: Re: Let's chat"
I turn off the outgoing filter all together and see:
I see a message from you:
"[External] Let's chat"
I reply and you get:
"[EXTERNAL] Re: Let's chat"
You reply and I get:
"[External] Re: [EXTERNAL] Re: Let's chat"
I reply and you get:
"[EXTERNAL] Re: [EXTERNAL] Re: Let's chat"
You reply and I get
"[External] Re: [EXTERNAL] Re: [EXTERNAL] Re: Let's chat"
01-04-2021 07:05 AM
On a side note... this doesn't appear to be anything I can resolve in O365. So, there's got to be a way to set this up without any sort of stacking in the ESAs.
01-04-2021 07:39 AM
01-04-2021 08:52 AM - edited 01-04-2021 08:54 AM
I'm only really concerned with my people seeing stacking. I know... selfish. But... my latest test seems to do the trick:
subject != "\\[EXTERNAL\\]"
edit-header-text("Subject", "(.*)", "[EXTERNAL] \\1")
I also have the outgoing filter set to:
subject == "^(\\[EXTERNAL\\] Re\\:)"
edit-header-text("Subject", "(\\[EXTERNAL\\] Re\\:)", "(Re\\:)")
I guess the bad thing would be if an external sender is also tagging, my tag wouldn't work.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide