Scripted filters

Discussion forum for Enterprise Edition.
Post Reply
cfdynamics
Posts: 136
Joined: Mon May 24, 2010 2:27 pm

Scripted filters

Post by cfdynamics » Mon Oct 28, 2019 3:25 pm

Had an email make it by an advanced filter I have created. filter looks for office@domain and an email to Office@domain got by...

can anyone verify the scripts are not supposed to be case-sensitive by default?

found a forum article that indicated they not not supposed to be as of 2009:
https://www.mailenable.com/forum/viewtopic.php?f=3&t=19584&p=70811&hilit=case+sensitive#p70811
Kent Runyan
CFDynamics.com
Providing World Class Hosting Solutions for over two decades.

MailEnable-Ian
Site Admin
Posts: 9209
Joined: Mon Mar 22, 2004 4:44 am
Location: Melbourne, Victoria, Australia

Re: Scripted filters

Post by MailEnable-Ian » Fri Nov 01, 2019 1:26 am

Hi,

Can you post up the script filter example?
Regards,

Ian Margarone
MailEnable Support

cfdynamics
Posts: 136
Joined: Mon May 24, 2010 2:27 pm

Re: Scripted filters

Post by cfdynamics » Tue Nov 05, 2019 3:55 pm

I added the * before and after each of the ME_TOorCC just prior to posting the issue here

If CriteriaMet([ME_TOorCC],"*office@customerdomain.com*") and not CriteriaMet([ME_FROM],"*@customerdomain.com*") then
FilterResult=1
ELSE
IF CriteriaMet([ME_TOorCC],"*FLoffice@customerdomain.com*") and not CriteriaMet([ME_FROM],"*@customerdomain.com*") then
FilterResult=1
ELSE
IF CriteriaMet([ME_TOorCC],"*planners@customerdomain.com*") and not CriteriaMet([ME_FROM],"*@customerdomain.com*") then
FilterResult=1
ELSE
IF CriteriaMet([ME_TOorCC],"*plannersplus@customerdomain.com*") and not CriteriaMet([ME_FROM],"*@customerdomain.com*") then
FilterResult=1
ELSE
IF CriteriaMet([ME_TOorCC],"*USContracting@customerdomain.com*") and not CriteriaMet([ME_FROM],"*@customerdomain.com*") then
FilterResult=1
end if
end if
end if
end if
end if
Kent Runyan
CFDynamics.com
Providing World Class Hosting Solutions for over two decades.

cfdynamics
Posts: 136
Joined: Mon May 24, 2010 2:27 pm

Re: Scripted filters

Post by cfdynamics » Fri Nov 29, 2019 10:48 pm

bump
Kent Runyan
CFDynamics.com
Providing World Class Hosting Solutions for over two decades.

MailEnable-Ian
Site Admin
Posts: 9209
Joined: Mon Mar 22, 2004 4:44 am
Location: Melbourne, Victoria, Australia

Re: Scripted filters

Post by MailEnable-Ian » Mon Dec 09, 2019 12:22 am

Hi,

Best way forward would be to lodge a support ticket and provide the example message that is not triggering the filter.
Regards,

Ian Margarone
MailEnable Support

Post Reply