Hi All,
I have a case, where I need my manager's address to be added to the CC field every time I press reply/reply to all AND if it is not there already.
Below is the code I've come up to
%SETPATTREGEXP="^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$"%-
%VAR1=%REGEXPBLINDMATCH(%CCLIST)%-
%IF:"%VAR1"<>"":%CC=""%-
It works if there are none of addresses in CC. Or if there is only 1 e-mail address in CC.
The problem is it doesn't work in case there are couple of e-mail addresses in the CC field. If there are couple of addresses it will add in any case.
So the question would be, how should I write the expression so it looks for and finds even within the list of many e-mail addresses.
I have a case, where I need my manager's address to be added to the CC field every time I press reply/reply to all AND if it is not there already.
Below is the code I've come up to
%SETPATTREGEXP="^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$"%-
%VAR1=%REGEXPBLINDMATCH(%CCLIST)%-
%IF:"%VAR1"<>"":%CC=""%-
It works if there are none of addresses in CC. Or if there is only 1 e-mail address in CC.
The problem is it doesn't work in case there are couple of e-mail addresses in the CC field. If there are couple of addresses it will add in any case.
So the question would be, how should I write the expression so it looks for and finds even within the list of many e-mail addresses.